UICollisionBehaviorMode UICollisionBehaviorMode Enum

Definition

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Fields

Boundaries Boundaries 2

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

Everything Everything 18446744073709551615

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

Items Items 1

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

Applies to