OGL Engine 1.2.0-dev
|
Structure de donnée contenant de quoi afficher un sprite à l'écran. More...
#include <sprite.hpp>
Public Attributes | |
Graphics::Material | material |
Le material utilisé pour le rendu du sprite (textures + shader) | |
glm::vec2 | size = {1.0f, 1.0f} |
Taille du sprite à afficher. | |
Public Attributes inherited from Engine::ECS::Component | |
bool | enabled = true |
Additional Inherited Members | |
Public Member Functions inherited from Engine::ECS::Component | |
Component ()=default | |
void | SetEntity (Entity e) |
Attache l'entité au component. | |
Entity & | GetEntity () const |
Renvoie l'entité attachée. | |
Registry & | GetRegistry () const |
Renvoie le registre actuel. | |
Scene::Scene & | GetScene () const |
Renvoie la scène en cours. | |
App & | GetApp () const |
Renvoie l'instance d'application. |
Structure de donnée contenant de quoi afficher un sprite à l'écran.
Graphics::Material Engine::Graphics::Sprite::material |
Le material utilisé pour le rendu du sprite (textures + shader)
glm::vec2 Engine::Graphics::Sprite::size = {1.0f, 1.0f} |
Taille du sprite à afficher.