|
gdk-graphics 0a0aef92e917cfbac53dffbc32c295e4de914093
|
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 vector3_type &aWorldPos, const quaternion_type &aRotation, const vector3_type &aScale)=0 |
| sets the model matrix using a vec3 position, quat rotation, vec3 scale | |
| void | set_transform (const vector3_type &aWorldPos, const quaternion_type &aRotation) |
| sets the model matrix using a vec3 position and quat rotation, unscaled | |
| virtual void | set_transform (const matrix4x4_type &a)=0 |
| set the model matrix using a matrix | |
| virtual void | set_bounds (const vector3_type &aCentre, floating_point_type aRadius)=0 |
| the bounding sphere of the model, used for culling | |
| virtual | ~entity ()=default |
| dtor | |
represents an observable 3d object.
|
pure virtual |
do not allow this entity to be drawn
Implemented in gdk::graphics::null_entity.
|
pure virtual |
check if the entity is hidden
Implemented in gdk::graphics::null_entity.
|
pure virtual |
the bounding sphere of the model, used for culling
Implemented in gdk::graphics::null_entity.
|
pure virtual |
set the model matrix using a matrix
Implemented in gdk::graphics::null_entity.
|
pure virtual |
sets the model matrix using a vec3 position, quat rotation, vec3 scale
Implemented in gdk::graphics::null_entity.
|
pure virtual |
allow this entity to be drawn
Implemented in gdk::graphics::null_entity.