跳转到内容

AnimatorLayer

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

Defined in: sdk/src/animation/Animator.ts:177

A layer over the base one: a state machine of its own, and how much of what it says survives. Neither weight nor blend exists on the base layer, both being statements about what is underneath and nothing being.

optional anyStateTransitions?: AnimatorTransition[]

Defined in: sdk/src/animation/Animator.ts:200

Transitions evaluated from every state, before the current state’s own.

AnimatorControllerDef.anyStateTransitions


optional blend?: AnimatorLayerBlend

Defined in: sdk/src/animation/Animator.ts:181


initialState: string

Defined in: sdk/src/animation/Animator.ts:198

AnimatorControllerDef.initialState


optional mask?: AnimatorMask

Defined in: sdk/src/animation/Animator.ts:183

Which part of the rig this layer may write; absent is all of it.


name: string

Defined in: sdk/src/animation/Animator.ts:178


states: AnimatorState[]

Defined in: sdk/src/animation/Animator.ts:197

AnimatorControllerDef.states


optional weight?: number

Defined in: sdk/src/animation/Animator.ts:180

0 leaves the layers below untouched, 1 states this layer whole.