Saga3D API Documentation
1.0-RC4
|
Go to the documentation of this file. 1 #ifndef __I_MESH_H_INCLUDED__
2 #define __I_MESH_H_INCLUDED__
36 virtual void addMeshBuffer(std::unique_ptr<IMeshBuffer> buf) = 0;
Class which holds the geometry of an object.
ID MeshID
ID of this mesh.
virtual E_MESH_TYPE getMeshType() const =0
virtual const core::aabbox3d< float > & getBoundingBox() const =0
Get an axis aligned bounding box of the mesh.
Struct for holding a mesh with a single material.
virtual IMeshBuffer & getMeshBuffer(std::uint32_t nr=0)=0
Get pointer to a mesh buffer.
constexpr auto INVALID_ID
std::uint32_t ID
Type for node ID.
virtual void setBoundingBox(const core::aabbox3df &box)=0
Set user-defined axis aligned bounding box.
virtual void addMeshBuffer(std::unique_ptr< IMeshBuffer > buf)=0
adds a MeshBuffer
virtual std::uint32_t getMeshBufferCount() const =0
Get the amount of mesh buffers.