This document is archived and information here might be outdated. Recommended version. |
Get Patch Count.
[Visual Basic .NET] Public ReadOnly Property PatchCount As Integer
[C#] public int PatchCount {get;}
[C++]
HRESULT get_PatchCount(
System.Int32* pCount
);
[C++]
Parameters pCount [out, retval]
pCount is a parameter of type long*
Returns the total number of Patches (TriangleStrip, TriangleFan, Triangles, Ring) in the MultiPatch. This value is identical with the partCount parameter passed to IGeneralMultiPatchCreator.Init() when constructing the MultiPatch.