ActionAnimation
Defines an an action animation.
Declaration
struct ActionAnimation<ActionType> where ActionType : EntityActionOverview
The definition is used to generate an action animation based AnimationResource that can then be played by calling playAnimation(_:transitionDuration:blendLayerOffset:separateAnimatedValue:startsPaused:clock:handoffType:)
Action animations can be used to perform operations in lock-step with playback.
Actions can be grouped or sequenced with pre-existing animation resources or be stand alone. For example an action that triggers sound can be grouped with a sampled animation to trigger sound effects at the appropriate times during playback. See: group(with:)
Stand alone action animations can animate target values using RealityKit’s animation engine with cross fade, and additive compositing support.
(See: AnimationStateProtocol)
Topics
Initializers
Instance Properties
actionbindTargetblendLayerdelaydurationeventDefinitionsfillModenameoffsetrepeatModespeedtrimDurationtrimEndtrimStart