gdk-graphics  1b6d84e044c2c953fd7c9501e628a67e80f4da0d
Public Member Functions | List of all members
gdk::entity Class Referenceabstract

represents an observable 3d object. More...

#include <entity.h>

Inheritance diagram for gdk::entity:
gdk::webgl1es2_entity

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
 

Detailed Description

represents an observable 3d object.


The documentation for this class was generated from the following file: