Click or drag to resize

MeshUnsafeLockFacesArray Method

Retrieves a pointer to the raw faces array, which uses 4 integers for each face. MeshFace.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public MeshFace* FacesArray(
	out int length
)

Parameters

length
Type: SystemInt32
The length of the array. This value is returned by reference (out in C#).

Return Value

Type: MeshFace*
The beginning of the vertex array. Item 0 is the first vertex, and item length-1 is the last valid one.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe mesh does not have face normals.
Version Information

Rhino for Windows

Supported in: 6.27
See Also