kick
|
Public Member Functions | |
Transform (GameObject *gameObject) | |
void | setPosition (glm::vec3 position) |
glm::vec3 | position () |
void | setLocalPosition (glm::vec3 position) |
glm::vec3 | localPosition () |
void | setLocalRotationEuler (glm::vec3 rot) |
glm::vec3 | localRotationEuler () |
void | setRotationEuler (glm::vec3 rot) |
glm::vec3 | rotationEuler () |
void | setRotation (glm::quat rot) |
glm::quat | rotation () |
void | setLocalRotation (glm::quat rot) |
glm::quat | localRotation () |
void | setLocalScale (glm::vec3 scale) |
glm::vec3 | localScale () |
void | setParent (std::shared_ptr< Transform > parent) |
void | lookAt (glm::vec3 target, glm::vec3 up=glm::vec3{0, 1, 0}) |
void | lookAt (Transform *target, glm::vec3 up=glm::vec3{0, 1, 0}) |
glm::mat4 | localMatrix () |
glm::mat4 | globalMatrix () |
glm::mat4 | localTRSInverse () |
glm::mat4 | globalTRSInverse () |
std::shared_ptr< Transform > | root () |
std::shared_ptr< Transform > | parent () |
TransformIter | begin () |
TransformIter | end () |
ConstTransformIter | begin () const |
ConstTransformIter | end () const |
glm::vec3 | forward () |
glm::vec3 | up () |
glm::vec3 | right () |
Definition at line 25 of file transform.h.