#include <transformcomponent.h>
Public Attributes | |
glm::vec3 | mTranslate = { 0.0f, 0.0f, 0.0f } |
Property: 'Translate' Position (x, y, z) More... | |
glm::vec3 | mRotate = { 0.0f, 0.0f, 0.0f } |
Property: 'Rotation' Amount of rotation in degrees (yaw, pitch, roll) More... | |
glm::vec3 | mScale = { 1.0f, 1.0f, 1.0f } |
Property: 'Scale' Axis scaling factor (x, y, z) More... | |
float | mUniformScale = 1.0f |
Property: 'UniformScale' Uniform scaling factor. More... | |
Struct to hold properties shared between Resource and Instance Note that the rotation is in euler angles (Pitch, Yaw, Roll) but after instantiation all rotate related functionality is performed using quaternions
glm::vec3 mRotate = { 0.0f, 0.0f, 0.0f } |
Property: 'Rotation' Amount of rotation in degrees (yaw, pitch, roll)
glm::vec3 mScale = { 1.0f, 1.0f, 1.0f } |
Property: 'Scale' Axis scaling factor (x, y, z)
glm::vec3 mTranslate = { 0.0f, 0.0f, 0.0f } |
Property: 'Translate' Position (x, y, z)
float mUniformScale = 1.0f |
Property: 'UniformScale' Uniform scaling factor.