Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnimationManager

Hierarchy

  • System
    • AnimationManager

Implements

Index

Properties

Private _anims

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

Private _blendStateBuffer

_blendStateBuffer: BlendStateBuffer = new BlendStateBuffer()

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

  • get blendState(): BlendStateBuffer

id

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

priority

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

Methods

addAnimation

addCrossFade

destruct

  • destruct(): void

init

  • init(): void

postUpdate

  • postUpdate(dt: number): void

pushDelayEvent

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

removeAnimation

removeCrossFade

  • removeCrossFade(crossFade: CrossFade): void

update

  • update(dt: number): void

Static sortByPriority

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

Generated using TypeDoc