terminated
TypeScriptget terminated(): ActionEventTypeSwift declarationstatic var terminated: ActionEventType { get }An event that takes place when the animation ends.
struct · iOS 18.0+ · SDK 27.1
struct ActionEventTypeA set of events that an action responds to. Actions can respond to specific events with one or more custom event handlers that you associate with each event type. RealityKit calls the event handlers when the animation time enters, exits, or continues within a time interval for an ``ActionEventDefinition``. A time interval for an event begins at its starting time and spans up to, but doesn't include, the event's starting time plus its duration.
get terminated(): ActionEventTypeSwift declarationstatic var terminated: ActionEventType { get }An event that takes place when the animation ends.
get ended(): ActionEventTypeSwift declarationstatic var ended: ActionEventType { get }An event that takes place when the action event exits its time interval. End is also raised when the animation terminates before the action event completes.
get paused(): ActionEventTypeSwift declarationstatic var paused: ActionEventType { get }An event that takes place when the animation pauses.
get resumed(): ActionEventTypeSwift declarationstatic var resumed: ActionEventType { get }An event that takes place when the animation resumes after a pause.
get skipped(): ActionEventTypeSwift declarationstatic var skipped: ActionEventType { get }An event that takes place when the system misses an action event's time interval. RealityKit generates a skip event under the following conditions: - The current time is greater than or equal to the event's ending time. - The previous frame's time is less than the event's starting time.
get started(): ActionEventTypeSwift declarationstatic var started: ActionEventType { get }An event that takes place when a new action event begins.
get updated(): ActionEventTypeSwift declarationstatic var updated: ActionEventType { get }An event that takes place after an action event starts and is within its time interval.
init(rawValue: number): ActionEventTypeSwift declarationinit(rawValue: UInt)Creates an action event type from a raw value. - Parameters: - rawValue: The backing data value for force effect inputs.
getRawValue($self: ActionEventType): numberSwift declarationlet rawValue: UIntThe backing storage for action event types.
No declarations were skipped in this snapshot.