Constructors
Properties
Readonly
animations
Readonly
keyframes
Readonly
palette
palette: Readonly<Color>[] Readonly
rgbKeyframes
Readonly
rgbTracks
Readonly
tracks
tracks: Readonly<Track>[] Methods
computeDataSize
- computeDataSize(): number
Returns number
getAnimation
- getAnimation(animIndex): Readonly<AnimationPreset>
getAnimationCount
- getAnimationCount(): number
Returns number
getColor
- getColor(colorIndex, die): Color
getColor32
- getColor32(colorIndex, die): number
Returns number
getKeyframe
- getKeyframe(keyframeIndex): Readonly<SimpleKeyframe>
getKeyframeCount
- getKeyframeCount(): number
Returns number
getPaletteSize
- getPaletteSize(): number
Returns number
getRgbKeyframe
- getRgbKeyframe(keyframeIndex): Readonly<RgbKeyframe>
getRgbKeyframeCount
- getRgbKeyframeCount(): number
Returns number
getRgbTrack
- getRgbTrack(trackIndex): Readonly<RgbTrack>
Returns Readonly<RgbTrack>
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
Optional
byteOffset: number
Returns [DataView, number]