|
ToyMaker Game Engine 0.0.2
ToyMaker is a game engine developed and maintained by Zoheb Shujauddin.
|
The transform component, which moves the vertices of a model to their world space coordinates during rendering. More...
#include <scene_components.hpp>
Static Public Member Functions | |
| static std::string | getComponentTypeName () |
| Gets the component type string for this object. | |
Public Attributes | |
| glm::mat4 | mModelMatrix { 1.f } |
| The actual currently cached model matrix for this entity. | |
| TransformComponentSet | mInheritedComponents { TRANSFORMCOMPONENT_TRANSLATION | TRANSFORMCOMPONENT_ROTATION | TRANSFORMCOMPONENT_SCALE } |
| Field specifying which aspects of its parent's transform this object's transform is specified relative to. | |
| TransformInheritMode | mInheritMode { TransformInheritMode::PARENT } |
| Field specifying which coordinate system this object's transform is specified relative to. | |
The transform component, which moves the vertices of a model to their world space coordinates during rendering.
Computed based on the parameters specified in the placement component along with transforms of objects higher up in the scene hierarchy.
|
inlinestatic |
Gets the component type string for this object.