3#ifndef GDK_GFX_ENTITY_H
4#define GDK_GFX_ENTITY_H
6#include <gdk/graphics_types.h>
26 const graphics_quaternion_type &aRotation,
27 const graphics_vector3_type &aScale = graphics_vector3_type::one) = 0;
represents an observable 3d object.
Definition entity.h:13
virtual ~entity()=default
dtor
virtual void set_transform(const graphics_matrix4x4_type &a)=0
set the model matrix using a matrix
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 bool is_hidden() const =0
check if the entity is hidden
virtual void hide()=0
do not allow this entity to be drawn
virtual void show()=0
allow this entity to be drawn
decides how models using the material should be drawn.
Definition material.h:22
Vertex data representing a 3D graphical object.
Definition model.h:10