Skip to content

setAnimatorStateClip

setAnimatorStateClip(def, name, clip): AnimatorControllerDef

Defined in: animation/animatorGraph.ts:98

Set the state’s motion to a single sprite clip (clears any other motion).

AnimatorControllerDef

string

string

AnimatorControllerDef