Skip to content

setAnimatorStateClip

setAnimatorStateClip(def, name, clip, layer?): AnimatorControllerDef

Defined in: animation/animatorGraph.ts:142

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

AnimatorControllerDef

string

string

number = 0

AnimatorControllerDef