Click or drag to resize

MeshUnsafeLockNormalVector3fArray Method

Retrieves a pointer to the raw mesh vertex normal array, which uses vectors defined with single precision floating point numbers, or throws an exception if none is available.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.20
Syntax
public Vector3f* NormalVector3fArray(
	out int length
)

Parameters

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

Return Value

Type: Vector3f*
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 vertex normals.
See Also