Skip to content

@modoki/engine / index / AnimationClipBlock

Interface: AnimationClipBlock

One clip block on an animation track. clip is a NAME in the target animator's bank (Animator.clips / SkeletalAnimator / SpriteAnimator). scrub (default true) drives a keyframe Animator to an exact per-frame sample; it is ignored for skeletal/sprite animators, which are triggered once at start and left to run.

Timeline

clip

clip: string


duration?

optional duration?: number

Optional visual length (authoring/UI). Playback keys off start boundaries.


scrub?

optional scrub?: boolean


start

start: number

Built with Modoki.