Skip to content

Kiln API / kiln / AnimatorOptions

Interface: AnimatorOptions ​

Properties ​

PropertyTypeDescription
graph?AnimationGraphThe state graph. Default: one state per glTF clip, switched with play().
play?stringState to start in instead of the graph's initial state (or the first clip).
speed?numberPlayback rate multiplier. Default 1.
clips?AssetHandle<GLTF> | readonly AnimationClip[]Where the clips come from. Default: the entity's Model asset. Pass clips for a hand-built MeshRef.