50 uint8_t overrideTranslvl;
66 bool read(
const StreamPtr& streamPtr);
68 const Header& getHeader()
const {
return header; }
69 const Vector<Layer>& getLayers()
const {
return layers; }
70 const Vector<Keyframe>& getKeyframes()
const {
return keyframes; }
71 const Vector<uint8_t>& getAllLayersOrders()
const {
return layersOrder; }
77 const size_t frameIdx = (direction * header.
frames + frame) * header.
layers;
78 return &layersOrder[frameIdx];
83 "HD",
"TR",
"LG",
"RA",
"LA",
"RH",
"LH",
"SH",
84 "S1",
"S2",
"S3",
"S4",
"S5",
"S6",
"S7",
"S8"};
89 Vector<Keyframe> keyframes;
95 Vector<uint8_t> layersOrder;
uint8_t component
See componentsNames.
Keyframe
Frame trigger type.
uint8_t isSelectable
Can the layer be selected and used for the "hit" underlay.
Just a placeholder to use if we ever want to implement our own vector type.
const uint8_t * getFrameLayerOrder(size_t direction, size_t frame) const
uint8_t castsShadow
Does this layer cast a shadow.
static constexpr uint8_t componentsNumber
Decoder for the COF (Components Object File) file format.