This method returns the model type.
HRESULT GetModelType(
[out, retval] ModelTypeCode* pModelType)
Parameters:
pModelType – An enum that indicates the model type. The following are the possible ModelTypeCode enumeration values for this code:
MT_NORMAL = 0
Regular model.
MT_ANIMATION = 1
Direct X animation model.
MT_PROGRESSIVE = 2
Reserved.
Return Values:
The return value obtained from the returned HRESULT can be one of the following:
Return value |
Meaning |
S_OK |
Success. |
E_FAIL |
Catastrophic failure. |