A3DGlobalGetFillPatternType

A3DStatus A3DGlobalGetFillPatternType(const A3DUns32 uiIndexPattern, A3DEEntityType *pePatternType)
A3DStatus A3DGlobalGetFillPatternType(const A3DUns32 uiIndexPattern, A3DEEntityType* pePatternType)

Give the FillPattern type of the uiIndexPattern index in the global array of fill patterns.

2.0

A FillPattern type can be one of the following types:

Return Values

A3D_INITIALIZE_NOT_CALLED: if the library has not been initialized via A3DDllInitialize

A3D_INVALID_DATA_STRUCT_NULL: if pePatternType is null

A3D_SUCCESS: returned on success

Parameters

uiIndexPattern: The index into the global fill patterns array, as sized by A3DGlobalData::m_uiFillPatternsSize

pePatternType: Set to the A3DEEntityType corresponding to the indexed pattern’s concrete type

Returns

A3D_SUCCESS on success, or an error code on failure