#include <gnomonmesh.h>
Public Member Functions | |
GnomonMesh (Core &core) | |
virtual bool | init (utility::ErrorState &errorState) override |
virtual MeshInstance & | getMeshInstance () override |
virtual const MeshInstance & | getMeshInstance () const override |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
float | mSize = 1.0f |
Property: 'Size' axis length. More... | |
glm::vec3 | mPosition = { 0.0f, 0.0f, 0.0f } |
Property: 'Position' position in object space. More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Simple 3D Gnomon mesh, used for orientation. x-axis = red, y-axis = green, z-axis = blue. By default the length of every axis is 1 unit.
GnomonMesh | ( | Core & | core | ) |
|
overridevirtual |
Implements IMesh.
|
overridevirtual |
Implements IMesh.
|
overridevirtual |
Creates the mesh.
errorState | contains the error message when initialization fails. |
Reimplemented from Object.
glm::vec3 mPosition = { 0.0f, 0.0f, 0.0f } |
Property: 'Position' position in object space.
float mSize = 1.0f |
Property: 'Size' axis length.