setAnimatorStateMotion
setAnimatorStateMotion(
def,name,motion):AnimatorControllerDef
Defined in: animation/animatorGraph.ts:110
Point the state at a motion of any registered kind — a timeline, a blend over either. Null clears it, leaving a state that plays nothing.
Parameters
Section titled “Parameters”string
motion
Section titled “motion”AnimatorMotion | null