I3DShFacetMeshPrimitive Struct Reference
[External Interfaces]
List of all members.
Detailed Description
This interface is supported only by the facet mesh primitive that is bundled with the application. It can be used from an importer to store a mesh into a facet mesh primitive (family ID 'prim', classID 'fmes').
Member Function Documentation
virtual void MCCOMAPI I3DShFacetMeshPrimitive::SetBoundingBox |
( |
const TBBox3D & |
bbox |
) |
[pure virtual] |
Sets the bounding of the mesh.
- Parameters:
-
| bbox | The bounding box of the mesh. |
Sets the facet mesh for a given level of detail. Note that the primitive keeps a reference to the facetmesh so you should not modify it once you have called this function.
- Parameters:
-
| index | The index of the level of detail (0 based). |
| lod | The precision of the level of detail (0 is the maximum precision). |
| mesh | A point to the facet mesh. |
virtual MCCOMErr MCCOMAPI I3DShFacetMeshPrimitive::SetNbrLOD |
( |
uint32 |
nbrLod |
) |
[pure virtual] |
Sets the number of levels of details that the primitive contains.
- Parameters:
-
| nbrLod | The number of levels of details. |
virtual MCCOMErr MCCOMAPI I3DShFacetMeshPrimitive::SetUVSpace |
( |
int32 |
index, |
|
|
const UVSpaceInfo & |
uvSpaceInfo | |
|
) |
| | [pure virtual] |
Sets the definition of a given shading domaine (UV space).
- Parameters:
-
| index | The 0-based index of the shading domaine. |
| uvSpaceInfo | The definition of the shading domaine. |
virtual MCCOMErr MCCOMAPI I3DShFacetMeshPrimitive::SetUVSpaceCount |
( |
int32 |
nbrUV |
) |
[pure virtual] |
Sets the number of shading domaines (UV spaces).
- Parameters:
-
| nbrUV | The number of shading domaines. |
The documentation for this struct was generated from the following file: