Constructors

  • Parameters

    • state: State
    • normalizedTime: number
    • length: number
    • speed: number

    Returns AnimatorStateInfo

Properties

action: null | AnimationAction

The current action playing. It can be used to modify the action

hasTransitions: boolean

If the state has any transitions

length: number

The length of the animation

name: string

The name of the animation

nameHash: number

The hash of the name

normalizedTime: number

The normalized time of the animation

speed: number

The current speed of the animation