One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

ComponentEvents.WillDeactivate

struct · iOS 15.0+ · SDK 27.1

struct WillDeactivate

Event raised before a component is deactivated.

Members (1)

get · iOS 15.0+

entity

TypeScript
get entity(): Entity
Swift declaration
let entity: Entity

The component's entity.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ComponentEvents.WillDeactivate.componentType

Passing a Swift type itself is not supported.

All RealityFoundation types →