Class TransformComponent¶
Defined in File transform_component.h
Nested Relationships¶
Nested Types¶
Inheritance Relationships¶
Base Type¶
public Component(Class Component)
Class Documentation¶
-
class
TransformComponent: public Component¶ Stores the transform (position, rotation, scale) information of any entity.
Public Functions
-
~TransformComponent()¶
-
void
setRotation(const float &yaw, const float &pitch, const float &roll)¶
-
void
setRotationQuaternion(const Quaternion &rotation)¶
-
void
setBounds(const BoundingBox &bounds)¶
-
void
addQuaternion(const Quaternion &applyQuaternion)¶
-
void
addRotation(float yaw, float pitch, float roll)¶
-
Quaternion
getRotation() const¶
-
int
getPassDowns() const¶
-
BoundingBox
getWorldSpaceBounds()¶
-
Quaternion
getAbsoluteRotation()¶
-
JSON::json
getJSON() const¶ Get JSON representation of the component data needed to re-construct component from memory.
-
void
draw()¶ Expose the component data with ImGui.
-
void
highlight()¶
-