Edit

Share via


UICollisionBehaviorMode Enum

Definition

An enumeration whose values specify whether a UICollisionBehavior detects collisions to boundaries, items, or everything.

This enumeration supports a bitwise combination of its member values.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UICollisionBehaviorMode
type UICollisionBehaviorMode = 
Inheritance
UICollisionBehaviorMode
Attributes

Fields

Name Value Description
Items 1

The dynamic items collide only with each and not with collision boundaries.

Boundaries 2

The dynamic items will not collide with each other, only the specified collision boundaries.

Everything 18446744073709551615

The dynamic items will collide with each other or the specified collision boundaries.

Applies to