A structure that specifies descriptive names and modeller data. More...
Data Fields | |
A3DBool | m_bTitleIsInt |
A3DUTF8Char * | m_pcTitle |
A3DMiscSingleAttributeData * | m_pSingleAttributesData |
A3DUns32 | m_uiSize |
A3DUns16 | m_usStructSize |
Detailed Description
A structure that specifies descriptive names and modeller data.
- Version
- 2.0
The A3DMiscAttributeData structure specifies a descriptive name as a single character string or integer. It can also reference an A3DMiscSingleAttributeData structure, which specifies modeller data.
If m_bTitleIsInt is true, m_pcTitle contains an unsigned integer (A3DUns32).
- Warning
- When an A3DMiscAttributeData structure references an A3DMiscSingleAttributeData structure, its members must be set as follows:
- Reference a single A3DMiscSingleAttributeData structure.
-
Have a
m_pcTitle
value identical to the corresponding member in the A3DMiscSingleAttributeData it references.
-
Although this structure contains an
m_uiSize
member, them_pSingleAttributesData
member references the structure itself, not an array of pointers to structures.
<! I removed this pseudocode from another sample because the code was misleading. –> Pseudocode to implement Attributes:
Field Documentation
A3DUns16 A3DMiscAttributeData::m_usStructSize |
Reserved; must be initialized by A3D_INITIALIZE_DATA.
A3DBool A3DMiscAttributeData::m_bTitleIsInt |
A value of TRUE indicates the m_pcTitle member represents an integer.
A3DUTF8Char* A3DMiscAttributeData::m_pcTitle |
Title as string.
A3DUns32 A3DMiscAttributeData::m_uiSize |
Size of next array.
A3DMiscSingleAttributeData* A3DMiscAttributeData::m_pSingleAttributesData |
Pointer to a single attribute structure.