Interface: SpriteAnimationEcsComponent
Defined in: animations/components/sprite-animation-component.ts:8
ECS-style component interface for sprite animations.
Properties
animationFrameIndex
animationFrameIndex:
number
Defined in: animations/components/sprite-animation-component.ts:9
animationInputs
animationInputs:
AnimationInputs
Defined in: animations/components/sprite-animation-component.ts:13
frameDurationMilliseconds
frameDurationMilliseconds:
number
Defined in: animations/components/sprite-animation-component.ts:11
lastFrameChangeTimeInSeconds
lastFrameChangeTimeInSeconds:
number
Defined in: animations/components/sprite-animation-component.ts:12
playbackSpeed
playbackSpeed:
number
Defined in: animations/components/sprite-animation-component.ts:10
stateMachine
stateMachine:
FiniteStateMachine<AnimationInputs,AnimationClip>
Defined in: animations/components/sprite-animation-component.ts:14