top
TypeScriptget top(): CharacterControllerComponent_CollisionFlagsSwift declarationstatic let top: CharacterControllerComponent.CollisionFlagsThe top of capsule was hit when moving in the up direction.
struct · iOS 15.0+ · SDK 27.1
struct CollisionFlagsAn option set that specifies which parts of the character capsule have collided with other objects.
get top(): CharacterControllerComponent_CollisionFlagsSwift declarationstatic let top: CharacterControllerComponent.CollisionFlagsThe top of capsule was hit when moving in the up direction.
get none(): CharacterControllerComponent_CollisionFlagsSwift declarationstatic let none: CharacterControllerComponent.CollisionFlagsNo collision.
get side(): CharacterControllerComponent_CollisionFlagsSwift declarationstatic let side: CharacterControllerComponent.CollisionFlagsThe side of capsule was hit when moving in the direction tangent to the up vector.
get bottom(): CharacterControllerComponent_CollisionFlagsSwift declarationstatic let bottom: CharacterControllerComponent.CollisionFlagsThe bottom of capsule was hit when moving in the down direction.
init(rawValue: number): CharacterControllerComponent_CollisionFlagsSwift declarationinit(rawValue: UInt8)Initializes collisions flags from a raw value.
getRawValue($self: CharacterControllerComponent_CollisionFlags): numberSwift declarationlet rawValue: UInt8The bitmask representation of the option set.
No declarations were skipped in this snapshot.