This document is archived and information here might be outdated. Recommended version. |
Get Material Count.
[Visual Basic .NET]
Public ReadOnly Property MaterialCount As Integer
[C#]
public int MaterialCount {get;}
[C++]
HRESULT get_MaterialCount(
System.Int32* pCount
);
[C++] Parameters pCount [out, retval]
pCount is a parameter of type long*
Returns the total number of Geometry Materials in the MultiPatch. This value is identical with the IGeometryMaterialList.Count property of the list passed to IGeneralMultiPatchCreator.Init() when constructing the MultiPatch.