Mesh.CreatePartitions Method

MeshCreatePartitions 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)
Syntax
public bool CreatePartitions(
	int maximumVertexCount,
	int maximumTriangleCount
)
Public Function CreatePartitions ( 
	maximumVertexCount As Integer,
	maximumTriangleCount As Integer
) As Boolean

Parameters

maximumVertexCount
Type: SystemInt32

[Missing <param name="maximumVertexCount"/> documentation for "M:Rhino.Geometry.Mesh.CreatePartitions(System.Int32,System.Int32)"]

maximumTriangleCount
Type: SystemInt32

[Missing <param name="maximumTriangleCount"/> documentation for "M:Rhino.Geometry.Mesh.CreatePartitions(System.Int32,System.Int32)"]

Return Value

Type: Boolean
true on success
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also