#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 |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| 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... | |
Public Attributes inherited from Object | |
| std::string | mID |
| Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| 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.