simulationEntity
TypeScriptget simulationEntity(): EntitySwift declarationlet simulationEntity: EntityThe root simulation entity associated with the simulation that raised the event.
struct · iOS 18.0+ · SDK 27.1
struct DidSimulateThe event raised after the simulation advances to the current frame.
get simulationEntity(): EntitySwift declarationlet simulationEntity: EntityThe root simulation entity associated with the simulation that raised the event.
get simulationRootEntity(): (Entity) | nullSwift declarationlet simulationRootEntity: Entity?The root simulation entity associated with the simulation that raised the event. This entity is `nil` if the physics simulation is the default global one that covers all entities in the hierarchy. Use ``PhysicsSimulationComponent`` to construct a custom physics simulation for a subtree of entities that you have access to. The event from this custom simulation reports a non-`nil` root simulation entity.
get deltaTime(): numberSwift declarationlet deltaTime: TimeIntervalThe time between last fixed update event and this one.
No declarations were skipped in this snapshot.