Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ArmatureCache

Hierarchy

  • ArmatureCache

Index

Constructors

constructor

Properties

Protected _animationPool

_animationPool: Record<string, AnimationCache>

Protected _armatureCache

_armatureCache: Record<string, ArmatureInfo>

Protected _privateMode

_privateMode: boolean = false

Static FrameTime

FrameTime: number = FrameTime

Static sharedCache

sharedCache: ArmatureCache = new ArmatureCache()

Methods

removeArmature

  • removeArmature(armatureKey: string): void

dispose

  • dispose(): void

enablePrivateMode

  • enablePrivateMode(): void

getAnimationCache

  • getAnimationCache(armatureKey: any, animationName: any): null | AnimationCache

getArmatureCache

  • getArmatureCache(armatureName: string, armatureKey: string, atlasUUID: string): null | Armature

initAnimationCache

  • initAnimationCache(armatureKey: string, animationName: string): null | AnimationCache

invalidAnimationCache

  • invalidAnimationCache(armatureKey: string): void

resetArmature

  • resetArmature(uuid: string): void

updateAnimationCache

  • updateAnimationCache(armatureKey: string, animationName: string): void

Static canCache

  • canCache(armature: Armature): boolean

Generated using TypeDoc