#include <TransformComponent.h>
Stucture to hold Transform data for each entity.
◆ Transform() [1/2]
◆ Transform() [2/2]
Transform::Transform |
( |
glm::vec3 |
pos, |
|
|
glm::quat |
rot, |
|
|
glm::vec3 |
scale |
|
) |
| |
|
inline |
◆ CheckFlag()
void Transform::CheckFlag |
( |
| ) |
|
|
inline |
◆ ClearOTID()
void Transform::ClearOTID |
( |
| ) |
|
|
inline |
◆ GetFlag()
const bool Transform::GetFlag |
( |
| ) |
const |
|
inline |
◆ GetFront()
const glm::vec3& Transform::GetFront |
( |
| ) |
const |
|
inline |
◆ GetModel()
const glm::mat4& Transform::GetModel |
( |
| ) |
const |
|
inline |
◆ GetOTID()
const IDVector& Transform::GetOTID |
( |
| ) |
const |
|
inline |
◆ GetPosition()
const glm::vec3& Transform::GetPosition |
( |
| ) |
const |
|
inline |
◆ GetRelativePosition()
const glm::vec3 Transform::GetRelativePosition |
( |
| ) |
const |
|
inline |
◆ GetRotation()
const glm::quat& Transform::GetRotation |
( |
| ) |
const |
|
inline |
◆ GetScale()
const glm::vec3& Transform::GetScale |
( |
| ) |
const |
|
inline |
◆ popOTID()
void Transform::popOTID |
( |
| ) |
|
|
inline |
◆ pushOTID()
void Transform::pushOTID |
( |
unsigned short int |
value | ) |
|
|
inline |
◆ SetPosition()
void Transform::SetPosition |
( |
const glm::vec3 & |
pos | ) |
|
|
inline |
◆ SetRelativeSpace()
void Transform::SetRelativeSpace |
( |
glm::mat4 |
parentMatrix | ) |
|
|
inline |
◆ SetRotation()
void Transform::SetRotation |
( |
const glm::quat & |
rot | ) |
|
|
inline |
◆ SetScale()
void Transform::SetScale |
( |
const glm::vec3 & |
scale | ) |
|
|
inline |
◆ topOTID()
short int Transform::topOTID |
( |
| ) |
|
|
inline |
The documentation for this struct was generated from the following file: