AnimationStateProtocol
The protocol representing the current animation state of an action animation.
Declaration
protocol AnimationStateProtocolOverview
The animation state allows actions to animate a target value using RealityKit’s animation engine.
Animating values with the animation engine allows for cross-fading and additive compositing with other RealityKit animations targeting the same value.
Access the animation state structure from the event structure returned to .updated event handlers. Define a valid bind target and matching animation type to make the state structure available and non nil.