跳转到内容

evaluateAnimatorPath

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

evaluateAnimatorPath(def, currentPath, params, triggers, clipFinished?): AnimatorPathEvalResult

Defined in: animation/Animator.ts:268

Evaluate one step of a (possibly nested) state machine over a path. Transitions are checked highest-priority first: top-level any-state, then each enclosing machine’s any-state from outermost in, then the leaf’s own transitions, then the container exit transitions from innermost out. A fired transition’s to is resolved within the machine that owns it (descending into a sub-machine’s initial state when needed). clipFinished reflects the leaf clip. Pure.

AnimatorControllerDef

string

AnimatorParamValues

ReadonlySet<string>

boolean = true

AnimatorPathEvalResult