AnimationPlayer

Undocumented in source.

Constructors

this
this(Puppet puppet)

Construct animation player

Members

Functions

createOrGet
AnimationPlaybackRef createOrGet(string name)

Gets an animation

destroyAll
void destroyAll()

Destroy all animations

play
AnimationPlaybackRef play(string name)

Convenience function which plays an animation

prerenderAll
void prerenderAll()

pre-render one frame of all animations

stopAll
void stopAll(bool immediate)

Stop all animations

update
void update(float delta)

Run an update step for the animation player

Variables

snapToFramerate
bool snapToFramerate;

Whether to snap to framerate

Meta