This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeneralMultiPatchInfo Interface > IGeneralMultiPatchInfo.PatchCount Property (ArcObjects .NET 10.4 SDK) |
Get Patch Count.
[Visual Basic .NET] Public ReadOnly Property PatchCount As Integer
[C#] public int PatchCount {get;}
[C++]
HRESULT get_PatchCount(
long* 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.