Defines a nodes transform relative to its parent (or world origin, if no parent is set)
More...
#include <foray_transform.hpp>
Defines a nodes transform relative to its parent (or world origin, if no parent is set)
◆ Transform()
foray::scene::ncomp::Transform::Transform |
( |
| ) |
|
|
inline |
◆ GetGlobalMatrix()
const glm::mat4 & foray::scene::ncomp::Transform::GetGlobalMatrix |
( |
| ) |
|
◆ RecalculateGlobalMatrix()
void foray::scene::ncomp::Transform::RecalculateGlobalMatrix |
( |
| ) |
|
|
protected |
◆ RecalculateIfDirty()
void foray::scene::ncomp::Transform::RecalculateIfDirty |
( |
bool |
recursive = false | ) |
|
◆ RecalculateLocalMatrix()
void foray::scene::ncomp::Transform::RecalculateLocalMatrix |
( |
| ) |
|
|
protected |
◆ SetDirtyRecursively()
void foray::scene::ncomp::Transform::SetDirtyRecursively |
( |
| ) |
|
|
protected |
◆ SetLocalMatrix()
void foray::scene::ncomp::Transform::SetLocalMatrix |
( |
const glm::mat4 & |
matrix | ) |
|
◆ SetRotation()
void foray::scene::ncomp::Transform::SetRotation |
( |
const glm::quat & |
rotation | ) |
|
◆ SetScale()
void foray::scene::ncomp::Transform::SetScale |
( |
const glm::vec3 & |
scale | ) |
|
◆ SetTranslation()
void foray::scene::ncomp::Transform::SetTranslation |
( |
const glm::vec3 & |
translation | ) |
|
◆ mDirty
bool foray::scene::ncomp::Transform::mDirty = true |
|
protected |
◆ mGlobalMatrix
glm::mat4 foray::scene::ncomp::Transform::mGlobalMatrix = glm::mat4(1.f) |
|
protected |
◆ mLocalMatrix
glm::mat4 foray::scene::ncomp::Transform::mLocalMatrix = glm::mat4(1.f) |
|
protected |
◆ mLocalMatrixFixed
bool foray::scene::ncomp::Transform::mLocalMatrixFixed = false |
|
protected |
◆ mRotation
glm::quat foray::scene::ncomp::Transform::mRotation = {} |
|
protected |
◆ mScale
glm::vec3 foray::scene::ncomp::Transform::mScale = glm::vec3(1.f) |
|
protected |
◆ mStatic
bool foray::scene::ncomp::Transform::mStatic = false |
|
protected |
◆ mTranslation
glm::vec3 foray::scene::ncomp::Transform::mTranslation = {} |
|
protected |
The documentation for this class was generated from the following file: