跳转到内容

AnimatorState

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

Defined in: animation/Animator.ts:108

optional blend?: AnimatorBlend1D

Defined in: animation/Animator.ts:113

1D blend selection. Mutually exclusive with clip/spine/stateMachine.


optional clip?: string

Defined in: animation/Animator.ts:111

Single sprite clip this state plays. Mutually exclusive with blend/spine/stateMachine.


optional loop?: boolean

Defined in: animation/Animator.ts:119


name: string

Defined in: animation/Animator.ts:109


optional speed?: number

Defined in: animation/Animator.ts:118


optional spine?: AnimatorSpineMotion

Defined in: animation/Animator.ts:115

Drive a Spine animation instead of a sprite clip.


optional stateMachine?: AnimatorSubMachine

Defined in: animation/Animator.ts:117

Nested machine — makes this a container state (no motion of its own).


transitions: AnimatorTransition[]

Defined in: animation/Animator.ts:120


optional x?: number

Defined in: animation/Animator.ts:122

Editor-only canvas position; the interpreter ignores it.


optional y?: number

Defined in: animation/Animator.ts:123