#include <OGREInterfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Public Member Functions | |
| bool | GetUseSharedVertices (void) |
| Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices. | |
| DIOGREVertexData * | GetVertexData (void) |
| The render operation type used to render this submesh. | |
| DIOGREIndexData * | GetIndexData (void) |
| Face index data. | |
| DIOGREMesh * | GetParent (void) |
| Reference to parent Mesh (not a smart pointer so child does not keep parent alive). | |
| void | SetMaterialName (const char *matName) |
| Sets the name of the Material which this SubMesh will use. | |
| const char * | GetMaterialName (void) |
| bool | IsMatInitialised (void) |
| Returns true if a material has been assigned to the submesh, otherwise returns false. | |
| void | AddBoneAssignment (OGREVertexBoneAssignment *vertBoneAssign) |
| Returns a RenderOperation structure required to render this mesh. | |
| void | ClearBoneAssignments (void) |
| Removes all bone assignments for this mesh. | |
| void | _CompileBoneAssignments (void) |
| Multimap of verex bone assignments (orders by vertex index). | |
| bool DigitalSpaces::DIOGRESubMesh::GetUseSharedVertices | ( | void | ) |
Indicates if this submesh shares vertex data with other meshes or whether it has it's own vertices.
| DIOGREVertexData* DigitalSpaces::DIOGRESubMesh::GetVertexData | ( | void | ) |
The render operation type used to render this submesh.
Dedicated vertex data (only valid if useSharedVertices = false).
| DIOGREIndexData* DigitalSpaces::DIOGRESubMesh::GetIndexData | ( | void | ) |
Face index data.
| DIOGREMesh* DigitalSpaces::DIOGRESubMesh::GetParent | ( | void | ) |
Reference to parent Mesh (not a smart pointer so child does not keep parent alive).
| void DigitalSpaces::DIOGRESubMesh::SetMaterialName | ( | const char * | matName | ) |
Sets the name of the Material which this SubMesh will use.
| const char* DigitalSpaces::DIOGRESubMesh::GetMaterialName | ( | void | ) |
| bool DigitalSpaces::DIOGRESubMesh::IsMatInitialised | ( | void | ) |
Returns true if a material has been assigned to the submesh, otherwise returns false.
| void DigitalSpaces::DIOGRESubMesh::AddBoneAssignment | ( | OGREVertexBoneAssignment * | vertBoneAssign | ) |
Returns a RenderOperation structure required to render this mesh.
| rend | Reference to a RenderOperation structure to populate. | |
| lodIndex | The index of the LOD to use. Assigns a vertex to a bone with a given weight, for skeletal animation. |
| void DigitalSpaces::DIOGRESubMesh::ClearBoneAssignments | ( | void | ) |
Removes all bone assignments for this mesh.
| void DigitalSpaces::DIOGRESubMesh::_CompileBoneAssignments | ( | void | ) |
Multimap of verex bone assignments (orders by vertex index).
Gets an iterator for access all bone assignments.
1.5.6