SpriteClipAnimationSystemOptions
Defined in: src/modules/animation/sprite-clip.ts:137
Options for makeSpriteClipAnimationSystem.
Properties
Section titled “Properties”animatorDef?
Section titled “animatorDef?”
optionalanimatorDef?:ComponentDef<SpriteAnimator>
Defined in: src/modules/animation/sprite-clip.ts:139
optionalname?:string
Defined in: src/modules/animation/sprite-clip.ts:138
onMissingClip?
Section titled “onMissingClip?”
optionalonMissingClip?: (entityId,clip) =>void
Defined in: src/modules/animation/sprite-clip.ts:144
Reports an animator whose clip key is not in the registry; the entity is skipped that tick.
Parameters
Section titled “Parameters”entityId
Section titled “entityId”string
Returns
Section titled “Returns”void
registry
Section titled “registry”registry:
SpriteClipRegistry
Defined in: src/modules/animation/sprite-clip.ts:141
The clip registry animators resolve their clip key against.
runAfter?
Section titled “runAfter?”
optionalrunAfter?:string[]
Defined in: src/modules/animation/sprite-clip.ts:142