Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnimationCache

Hierarchy

  • AnimationCache

Index

Constructors

constructor

Properties

_animationName

_animationName: string | null = null

_armatureInfo

_armatureInfo: ArmatureInfo | null = null

_enableCacheAttachedInfo

_enableCacheAttachedInfo: boolean = false

_frameIdx

_frameIdx: number = -1

_inited

_inited: boolean = false

_invalid

_invalid: boolean = true

_privateMode

_privateMode: boolean = false

_tempBoneInfos

_tempBoneInfos: ArmatureFrameBoneInfo[] | null = null

_tempColors

_tempColors: ArmatureFrameColor[] | null = null

_tempSegments

_tempSegments: ArmatureFrameSegment[] | null = null

frames

frames: ArmatureFrame[] = []

isCompleted

isCompleted: boolean = false

totalTime

totalTime: number = 0

Methods

needToUpdate

  • needToUpdate(toFrameIdx?: undefined | number): boolean

traverseArmature

  • traverseArmature(armature: Armature, parentOpacity: any): void

updateFrame

  • updateFrame(armature: any, index: any): void

begin

  • begin(): void

clear

  • clear(): void

enableCacheAttachedInfo

  • enableCacheAttachedInfo(): void

end

  • end(): void

init

  • init(armatureInfo: ArmatureInfo, animationName: string): void

invalidAllFrame

  • invalidAllFrame(): void

isInited

  • isInited(): boolean

isInvalid

  • isInvalid(): boolean

updateAllFrame

  • updateAllFrame(): void

updateToFrame

  • updateToFrame(toFrameIdx?: undefined | number): void

Generated using TypeDoc