![]() |
FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
|
Structure that contains the information of a frame of an animation. More...
#include <anim_manager.hpp>
Public Attributes | |
std::shared_ptr< fge::TextureType > | _texture |
The shared pointer texture of the frame. | |
std::filesystem::path | _path |
The file path of the texture. | |
fge::Vector2u | _texturePosition |
The tileset grid position, only useful if the type is ANIM_TYPE_TILESET. | |
uint32_t | _ticks |
The number of ticks that the frame will be displayed, by default 1 tick take 100 ms. | |
Structure that contains the information of a frame of an animation.
std::filesystem::path fge::anim::AnimationFrame::_path |
The file path of the texture.
std::shared_ptr<fge::TextureType> fge::anim::AnimationFrame::_texture |
The shared pointer texture of the frame.
fge::Vector2u fge::anim::AnimationFrame::_texturePosition |
The tileset grid position, only useful if the type is ANIM_TYPE_TILESET.
uint32_t fge::anim::AnimationFrame::_ticks |
The number of ticks that the frame will be displayed, by default 1 tick take 100 ms.