M_Rhino_Geometry_Mesh_CreatePartitions - mcneel/rhinocommon-api-docs GitHub Wiki

Mesh.CreatePartitions Method

In ancient times (or modern smartphone times), some rendering engines were only able to process small batches of triangles and the CreatePartitions() function was provided to partition the mesh into subsets of vertices and faces that those rendering engines could handle.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool CreatePartitions(
	int maximumVertexCount,
	int maximumTriangleCount
)

VB

Public Function CreatePartitions ( 
	maximumVertexCount As Integer,
	maximumTriangleCount As Integer
) As Boolean

Parameters

 

maximumVertexCount
Type: System.Int32
[Missing documentation for "M:Rhino.Geometry.Mesh.CreatePartitions(System.Int32,System.Int32)"]
maximumTriangleCount
Type: System.Int32
[Missing documentation for "M:Rhino.Geometry.Mesh.CreatePartitions(System.Int32,System.Int32)"]

Return Value

Type: Boolean
true on success

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Mesh Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️