Constructors
Properties
Readonly
palette
palette: Readonly<Color>[] = [] Readonly
tracks
tracks: Readonly<Track>[] = [] Methods
computeDataSize
- computeDataSize(): number
Returns number
getAnimationCount
- getAnimationCount(): number
Returns number
getColor
- getColor(colorIndex, die): Color
getColor32
- getColor32(colorIndex, die): number
Returns number
getKeyframeCount
- getKeyframeCount(): number
Returns number
getPaletteSize
- getPaletteSize(): number
Returns number
getRgbKeyframeCount
- getRgbKeyframeCount(): number
Returns number
getRgbTrackCount
- getRgbTrackCount(): number
Returns number
getTrack
- getTrack(trackIndex): Readonly<Track>
Returns Readonly<Track>
getTrackCount
- getTrackCount(): number
Returns number
serialize
- serialize(dataView, byteOffset?): [DataView, number]
Parameters
- dataView: DataView
- byteOffset: number = 0
Returns [DataView, number]