跳转到内容

evaluateAnimatorTransitions

此内容尚不支持你的语言。

evaluateAnimatorTransitions(def, currentState, params, triggers, clipFinished?): AnimatorEvalResult

Defined in: animation/Animator.ts:197

Evaluate one step of the state machine. Any-state transitions are checked before the current state’s. clipFinished gates hasExitTime transitions (true = the current clip has ended); it defaults true so transitions without exit time are unaffected. Returns the next state (or null to stay) and the triggers a fired transition consumed. Pure.

AnimatorControllerDef

string

AnimatorParamValues

ReadonlySet<string>

boolean = true

AnimatorEvalResult