A3DGlobalGetFillPatternType
-
A3DStatus
A3DGlobalGetFillPatternType(const A3DUns32 uiIndexPattern, A3DEEntityType *pePatternType) Give the FillPattern type of the uiIndexPattern index in the global array of fill patterns.
2.0A FillPattern type can be one of the following types:
kA3DTypeGraphDottingPatternkA3DTypeGraphHatchingPatternkA3DTypeGraphSolidPatternkA3DTypeGraphVPicturePattern
Return Values
A3D_INITIALIZE_NOT_CALLED: if the library has not been initialized via
A3DDllInitializeA3D_INVALID_DATA_STRUCT_NULL: if
pePatternTypeis nullA3D_SUCCESS: returned on success
Parameters
uiIndexPattern: The index into the global fill patterns array, as sized by
A3DGlobalData::m_uiFillPatternsSizepePatternType: Set to the
A3DEEntityTypecorresponding to the indexed pattern’s concrete typeReturns
A3D_SUCCESSon success, or an error code on failure