Vulkan Schnee 0.0.1
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Ecs::Transform Struct Reference

#include <EcsData.h>

Public Member Functions

glm::vec3 getPosition () const
glm::quat getRotation () const
glm::vec3 getRotationEuler () const
glm::vec3 getScale () const
void setPosition (const glm::vec3 &newPosition)
void setRotation (const glm::vec3 &newRotation)
void setRotation (const glm::quat &newQuaternion)
void setScale (const glm::vec3 &newScale)

Public Attributes

glm::mat4 matrix = glm::mat4(1.0f)

Detailed Description

Definition at line 376 of file EcsData.h.

Member Function Documentation

◆ getPosition()

glm::vec3 Engine::Ecs::Transform::getPosition ( ) const
nodiscard

◆ getRotation()

glm::quat Engine::Ecs::Transform::getRotation ( ) const
nodiscard

◆ getRotationEuler()

glm::vec3 Engine::Ecs::Transform::getRotationEuler ( ) const
nodiscard

◆ getScale()

glm::vec3 Engine::Ecs::Transform::getScale ( ) const
nodiscard

◆ setPosition()

void Engine::Ecs::Transform::setPosition ( const glm::vec3 & newPosition)

◆ setRotation() [1/2]

void Engine::Ecs::Transform::setRotation ( const glm::quat & newQuaternion)

◆ setRotation() [2/2]

void Engine::Ecs::Transform::setRotation ( const glm::vec3 & newRotation)

◆ setScale()

void Engine::Ecs::Transform::setScale ( const glm::vec3 & newScale)

Member Data Documentation

◆ matrix

glm::mat4 Engine::Ecs::Transform::matrix = glm::mat4(1.0f)

Definition at line 377 of file EcsData.h.


The documentation for this struct was generated from the following file:
  • /home/magerbeton/Documents/gl3-vulkan/Engine/include/Engine/Ecs/EcsData.h