#include <humanoidmesh.h>
Public Member Functions | |
| HumanoidMesh (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 | |
| EMemoryUsage | mUsage = EMemoryUsage::Static |
| Property: 'Usage' If the mesh is uploaded once or frequently updated. More... | |
| EPolygonMode | mPolygonMode = EPolygonMode::Fill |
| Property: 'PolygonMode' Mesh polygon mode (fill, wires, points) More... | |
| ECullMode | mCullMode = ECullMode::Back |
| Property: 'CullMode' controls which triangles are culled, back facing, front facing etc. 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) |
3D humanoid mesh, located at the origin with the average height of a Dutch person (1.83). The mesh has position, uv and normal vertex attributes.
| HumanoidMesh | ( | Core & | core | ) |
|
overridevirtual |
Implements IMesh.
|
overridevirtual |
Implements IMesh.
|
overridevirtual |
Load mesh and upload to GPU.
| errorState | the error message when initialization fails |
Reimplemented from Object.
| ECullMode mCullMode = ECullMode::Back |
Property: 'CullMode' controls which triangles are culled, back facing, front facing etc.
| EPolygonMode mPolygonMode = EPolygonMode::Fill |
Property: 'PolygonMode' Mesh polygon mode (fill, wires, points)
| EMemoryUsage mUsage = EMemoryUsage::Static |
Property: 'Usage' If the mesh is uploaded once or frequently updated.