A3DMiscPointerFromIndexGet
-
A3DStatus
A3DMiscPointerFromIndexGet(const A3DUns32 uiIndex, const A3DEEntityType eType, A3DEntity **ppEntity) A3DStatusA3DMiscPointerFromIndexGet(constA3DUns32uiIndex, constA3DEEntityTypeeType,A3DEntity** ppEntity)Retrieve the handle of an indexed entity.
2.0Even if they are usually accessed using a numerical index from the global data, entities such as
A3DGraphMaterialDataeach have a handle like any other entity.This function allows you to retrieve the entity handle behind an indexed data. From the entity, additional content can be obtained, such as meta-data.
kA3DTypeGraphDottingPatternkA3DTypeGraphFillPatternkA3DTypeGraphHatchingPatternkA3DTypeGraphLinePatternkA3DTypeGraphMaterialkA3DTypeGraphPicturekA3DTypeGraphSolidPatternkA3DTypeGraphStylekA3DTypeGraphTextureApplicationkA3DTypeGraphTextureDefinitionkA3DTypeGraphVPicturePattern
Parameters
uiIndex: The index of the data in the global data
eType: The expected entity type
ppEntity: A pointer to the resulting entity handle
Returns
A3D_SUCCESS or A3D_ERROR