Class AnimationClipState

Contains information about a currently playing animation clip.

Hierarchy

  • FrameworkObject
    • AnimationClipState

Constructors

Accessors

  • get isStopped(): boolean
  • Determines whether the time is advanced automatically. Certain type of animation clips don't involve playback (e.g. for blending where animation weight controls the animation).

    Returns boolean

  • set isStopped(value): void
  • Parameters

    • value: boolean

    Returns void

  • get layer(): AnimationLayer
  • Layer the clip is playing on. Multiple clips can be played simulatenously on different layers.

    Returns AnimationLayer

  • get previousTime(): number
  • The previous time the animation was playing from.

    Returns number

  • set previousTime(value): void
  • Parameters

    • value: number

    Returns void

  • get speed(): number
  • Speed at which the animation is playing.

    Returns number

  • set speed(value): void
  • Parameters

    • value: number

    Returns void

  • get time(): number
  • Current time the animation is playing from.

    Returns number

  • set time(value): void
  • Parameters

    • value: number

    Returns void

  • get weight(): number
  • Determines how much of an influence does the clip have on the final pose.

    Returns number

  • set weight(value): void
  • Parameters

    • value: number

    Returns void