Class AnimationInstanceAbstract
Constructors
constructor
- new AnimationInstance(preset, bits, die): AnimationInstance
Accessors
Protected
animationPreset
- get animationPreset(): AnimationPreset
Protected
bits
- get bits(): AnimationBits
Protected
die
- get die(): VirtualDie
duration
- get duration(): number
Returns number
startTime
- get startTime(): number
Returns number
Methods
setColor
- setColor(color, faceMask, retIndices, retColors): number
Parameters
- color: number
- faceMask: number
- retIndices: number[]
- retColors: number[]
Returns number
Protected
setIndices
- setIndices(faceMask, retIndices): number
Parameters
- faceMask: number
- retIndices: number[]
Returns number
start
- start(startTime): void
Returns void
Abstract
stop
- stop(retIndices): number
Returns number
Abstract
updateLEDs
- updateLEDs(ms, retIndices, retColors32): number
Parameters
- ms: number
- retIndices: number[]
- retColors32: number[]
Returns number