FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::anim::AnimationData Struct Reference

Structure that contains the information of an animation. More...

#include <anim_manager.hpp>

Public Attributes

std::vector< AnimationGroup_groups
 The vector of groups of the animation.
 
AnimationType _type
 The type of the animation.
 
Vector2u _tilesetGridSize
 The tileset grid size, only useful if the type is ANIM_TYPE_TILESET.
 
std::shared_ptr< TextureType_tilesetTexture
 The tileset texture, only useful if the type is ANIM_TYPE_TILESET.
 
std::filesystem::path _tilesetPath
 The tileset texture path, only useful if the type is ANIM_TYPE_TILESET.
 

Detailed Description

Structure that contains the information of an animation.

Member Data Documentation

◆ _groups

std::vector<AnimationGroup> fge::anim::AnimationData::_groups

The vector of groups of the animation.

◆ _tilesetGridSize

Vector2u fge::anim::AnimationData::_tilesetGridSize

The tileset grid size, only useful if the type is ANIM_TYPE_TILESET.

◆ _tilesetPath

std::filesystem::path fge::anim::AnimationData::_tilesetPath

The tileset texture path, only useful if the type is ANIM_TYPE_TILESET.

◆ _tilesetTexture

std::shared_ptr<TextureType> fge::anim::AnimationData::_tilesetTexture

The tileset texture, only useful if the type is ANIM_TYPE_TILESET.

◆ _type

AnimationType fge::anim::AnimationData::_type

The type of the animation.


The documentation for this struct was generated from the following file: