AnimatorState
此内容尚不支持你的语言。
Defined in: animation/Animator.ts:108
Properties
Section titled “Properties”blend?
Section titled “blend?”
optionalblend?:AnimatorBlend1D
Defined in: animation/Animator.ts:113
1D blend selection. Mutually exclusive with clip/spine/stateMachine.
optionalclip?:string
Defined in: animation/Animator.ts:111
Single sprite clip this state plays. Mutually exclusive with blend/spine/stateMachine.
optionalloop?:boolean
Defined in: animation/Animator.ts:119
name:
string
Defined in: animation/Animator.ts:109
speed?
Section titled “speed?”
optionalspeed?:number
Defined in: animation/Animator.ts:118
spine?
Section titled “spine?”
optionalspine?:AnimatorSpineMotion
Defined in: animation/Animator.ts:115
Drive a Spine animation instead of a sprite clip.
stateMachine?
Section titled “stateMachine?”
optionalstateMachine?:AnimatorSubMachine
Defined in: animation/Animator.ts:117
Nested machine — makes this a container state (no motion of its own).
transitions
Section titled “transitions”transitions:
AnimatorTransition[]
Defined in: animation/Animator.ts:120
optionalx?:number
Defined in: animation/Animator.ts:122
Editor-only canvas position; the interpreter ignores it.
optionaly?:number
Defined in: animation/Animator.ts:123