![]() |
gdk-graphics 0b051eb9b5c1eaa0658babaa4463dd7a80aa9d2c
|
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 | is_hidden () const =0 |
check if the entity is hidden | |
virtual void | set_transform (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_transform (const graphics_matrix4x4_type &a)=0 |
set the model matrix using a matrix | |
virtual | ~entity ()=default |
dtor | |
represents an observable 3d object.
|
pure virtual |
do not allow this entity to be drawn
Implemented in gdk::webgl1es2_entity.
|
pure virtual |
check if the entity is hidden
Implemented in gdk::webgl1es2_entity.
|
pure virtual |
set the model matrix using a matrix
Implemented in gdk::webgl1es2_entity.
|
pure virtual |
sets the model matrix using a vec3 position, quat rotation, vec3 scale
Implemented in gdk::webgl1es2_entity.
|
pure virtual |
allow this entity to be drawn
Implemented in gdk::webgl1es2_entity.