#include <TextureFrameTable.h>
◆ TextureFrameTable() [1/2]
| TextureFrameTable::TextureFrameTable |
( |
| ) |
|
|
default |
◆ TextureFrameTable() [2/2]
◆ animationFrame()
◆ animationFrameLength()
| Duration TextureFrameTable::animationFrameLength |
( |
int |
frameId | ) |
|
- Parameters
-
| frameId | Frame index in this table. |
- Returns
- Dwell time of the frame.
◆ animationId()
| int TextureFrameTable::animationId |
( |
std::string_view |
textureName | ) |
|
◆ animationLength()
| Duration TextureFrameTable::animationLength |
( |
int |
animationId | ) |
|
- Parameters
-
| animationId | Animation index in this table. |
- Returns
- Total duration of the corresponding animation. Passed frame must be the first one in a sequence.
◆ loadTexture()
◆ deserialize
◆ _frames
◆ _textures
The documentation for this class was generated from the following files: