#include <mesh.h>
Public Member Functions | |
virtual MeshInstance & | getMeshInstance ()=0 |
virtual const MeshInstance & | getMeshInstance () const =0 |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual bool | init (utility::ErrorState &errorState) |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Mesh resource interface. Derive from this class to implement your own serializable mesh resource. Every IMesh should be able to construct and return a nap::MeshInstance(). The instance is rendered and can be updated / modified at runtime.
|
pure virtual |
Implemented in Mesh, PolyLine, PlaneMesh, GeometryFromFile, BoxMesh, TriangleMesh, VisualizeNormalsMesh, ScatterPointsMesh, SphereMesh, MeshFromFile, GnomonMesh, and TorusMesh.
|
pure virtual |
Implemented in Mesh, PolyLine, PlaneMesh, GeometryFromFile, BoxMesh, TriangleMesh, VisualizeNormalsMesh, ScatterPointsMesh, SphereMesh, MeshFromFile, GnomonMesh, and TorusMesh.