![]() |
gdk-graphics
1b6d84e044c2c953fd7c9501e628a67e80f4da0d
|
represents an observable 3d object. More...
#include <entity.h>
Public Member Functions | |
virtual void | hide ()=0 |
do not allow this entity to be drawn | |
virtual void | show ()=0 |
allow this entity to be drawn | |
virtual bool | isHidden () const =0 |
check if the entity is hidden | |
virtual void | set_model_matrix (const graphics_vector3_type &aWorldPos, const graphics_quaternion_type &aRotation, const graphics_vector3_type &aScale=graphics_vector3_type::One)=0 |
sets the model matrix using a vec3 position, quat rotation, vec3 scale | |
virtual void | set_model_matrix (const graphics_mat4x4_type &a)=0 |
set the model matrix using a matrix | |
virtual void | set_model (const std::shared_ptr< model > a)=0 |
set the model | |
virtual | ~entity ()=default |
dtor | |
represents an observable 3d object.