Skip to content

AnimatorLayer

Defined in: animation/Animator.ts:171

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: animation/Animator.ts:194

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

AnimatorControllerDef.anyStateTransitions


optional blend?: AnimatorLayerBlend

Defined in: animation/Animator.ts:175


initialState: string

Defined in: animation/Animator.ts:192

AnimatorControllerDef.initialState


optional mask?: AnimatorMask

Defined in: animation/Animator.ts:177

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


name: string

Defined in: animation/Animator.ts:172


states: AnimatorState[]

Defined in: animation/Animator.ts:191

AnimatorControllerDef.states


optional weight?: number

Defined in: animation/Animator.ts:174

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