A3DMeshData
Fields
Detailed Description
-
struct
A3DMeshData Representation of a mesh obtained using A3DRiComputeMesh.
This structure provides a consistent way to access mesh information. Use A3DRiComputeMesh to populate this structure from an A3DRiRepresentationItem entity.
- Version
- 24.0
A fully detailed version of the structure layout and usage is presented in Getting Tessellation using A3DMeshData.
See also
Public Members
-
A3DUns32
m_uiCoordSize Number of elements in m_pdCoords.
Corresponds to three times the number of vertices.
-
A3DUns32
m_uiNormalSize Number of elements in m_pdNormals.
Corresponds to three times the number of vertices.
-
A3DUns32
m_uiTextureUVSize The number of elements in m_pdTextureUV.
Corresponds to two times the number of texture coordinates.
-
A3DUns32
m_uiFaceSize Total number of faces in the mesh.
Determines the size of various other fields in the structure.
-
A3DUns32 *
m_puiTriangleCountPerFace Array containing the number of triangles per face.
Size is m_uiFaceSize.
-
A3DUns32 *
m_puiVertexIndicesPerFace Array of vertex indices.
Indices are ordered per face and per triangle. Size depends on m_puiTriangleCountPerFace.
-
A3DUns32 *
m_puiTextureCountPerFace Array of texture counts for each face.
Size is m_uiFaceSize.
-
A3DUns32 *
m_puiTextureUVIndicesPerFace Array of texture indices.
Indices are ordered per face and per triangle. Size depends on m_puiTriangleCountPerFace and m_puiTextureCountPerFace.
-
A3DUns32
m_uiStyleIndex The style index used for the whole mesh.
Used with A3DGlobalGetGraphStyleData.
-
A3DUns32 *
m_puiStyleIndexPerFace Array of style indices set per face.
Used with A3DGlobalGetGraphStyleData.