Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnimationManager

Hierarchy

  • System
    • AnimationManager

Implements

Index

Properties

Private _anims

_anims: MutableForwardIterator<AnimationState> = new MutableForwardIterator<AnimationState>([])

Private _blendState

_blendState: AnimationBlendState = new AnimationBlendState()

Private _crossFades

_crossFades: CrossFade[] = []

Private delayEvents

delayEvents: Array<object> = []

Protected _executeInEditMode

_executeInEditMode: boolean = false

Protected _id

_id: string = ""

Protected _priority

_priority: number = 0

Static ID

ID: string = "animation"

Accessors

blendState

id

  • get id(): string
  • set id(id: string): void
  • Returns string

  • Parameters

    • id: string

    Returns void

priority

  • get priority(): number
  • set priority(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

Methods

addAnimation

  • Parameters

    Returns void

addCrossFade

  • Parameters

    Returns void

destruct

  • destruct(): void
  • Returns void

init

  • init(): void
  • Returns void

postUpdate

  • postUpdate(dt: number): void
  • Parameters

    • dt: number

    Returns void

pushDelayEvent

  • pushDelayEvent(target: Node, func: string, args: any[]): void
  • Parameters

    • target: Node
    • func: string
    • args: any[]

    Returns void

removeAnimation

  • Parameters

    Returns void

removeCrossFade

  • removeCrossFade(crossFade: CrossFade): void
  • Parameters

    Returns void

update

  • update(dt: number): void
  • Parameters

    • dt: number

    Returns void

Static sortByPriority

  • sortByPriority(a: System, b: System): 1 | 0 | -1
  • Parameters

    • a: System
    • b: System

    Returns 1 | 0 | -1

Generated using TypeDoc