#include <TransformComponent.h>
Definition at line 10 of file TransformComponent.h.
◆ TransformComponent()
| hellfire::TransformComponent::TransformComponent |
( |
| ) |
|
|
default |
◆ get_local_matrix()
| const glm::mat4 & hellfire::TransformComponent::get_local_matrix |
( |
| ) |
const |
|
inline |
◆ get_position() [1/2]
| glm::vec3 & hellfire::TransformComponent::get_position |
( |
| ) |
|
|
inline |
◆ get_position() [2/2]
| const glm::vec3 & hellfire::TransformComponent::get_position |
( |
| ) |
const |
|
inline |
◆ get_rotation()
| const glm::vec3 & hellfire::TransformComponent::get_rotation |
( |
| ) |
const |
|
inline |
◆ get_rotation_matrix()
| glm::mat4 hellfire::TransformComponent::get_rotation_matrix |
( |
| ) |
const |
|
inline |
◆ get_scale() [1/2]
| glm::vec3 & hellfire::TransformComponent::get_scale |
( |
| ) |
|
|
inline |
◆ get_scale() [2/2]
| glm::vec3 hellfire::TransformComponent::get_scale |
( |
| ) |
const |
|
inline |
◆ get_scale_matrix()
| glm::mat4 hellfire::TransformComponent::get_scale_matrix |
( |
| ) |
const |
|
inline |
◆ get_translation_matrix()
| glm::mat4 hellfire::TransformComponent::get_translation_matrix |
( |
| ) |
const |
|
inline |
◆ get_world_matrix()
| const glm::mat4 & hellfire::TransformComponent::get_world_matrix |
( |
| ) |
const |
|
inline |
◆ get_world_position()
| const glm::vec3 & hellfire::TransformComponent::get_world_position |
( |
| ) |
const |
|
inline |
◆ look_at()
| void hellfire::TransformComponent::look_at |
( |
const glm::vec3 & |
target, |
|
|
const glm::vec3 & |
up = glm::vec3(0,1,0) |
|
) |
| |
|
inline |
◆ set_position() [1/2]
| void hellfire::TransformComponent::set_position |
( |
const glm::vec3 & |
position | ) |
|
|
inline |
◆ set_position() [2/2]
| void hellfire::TransformComponent::set_position |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ set_rotation() [1/3]
| void hellfire::TransformComponent::set_rotation |
( |
const glm::quat & |
quaternion | ) |
|
|
inline |
◆ set_rotation() [2/3]
| void hellfire::TransformComponent::set_rotation |
( |
const glm::vec3 & |
eulers | ) |
|
|
inline |
◆ set_rotation() [3/3]
| void hellfire::TransformComponent::set_rotation |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ set_scale() [1/4]
| void hellfire::TransformComponent::set_scale |
( |
const glm::vec3 & |
scale | ) |
|
|
inline |
◆ set_scale() [2/4]
| void hellfire::TransformComponent::set_scale |
( |
float |
value | ) |
|
|
inline |
◆ set_scale() [3/4]
| void hellfire::TransformComponent::set_scale |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
◆ set_scale() [4/4]
| void hellfire::TransformComponent::set_scale |
( |
glm::vec3 & |
scale | ) |
|
|
inline |
◆ update_local_matrix()
| void hellfire::TransformComponent::update_local_matrix |
( |
| ) |
|
|
inline |
◆ update_world_matrix()
| void hellfire::TransformComponent::update_world_matrix |
( |
const glm::mat4 & |
parent_world_matrix | ) |
|
|
inline |
◆ transform_
The documentation for this class was generated from the following file: