MeshFaceNormalList.SetFaceNormal Method (Int32, Vector3f)

MeshFaceNormalListSetFaceNormal Method (Int32, Vector3f)

Sets a face normal vector at an index using a single-precision vector.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public bool SetFaceNormal(
	int index,
	Vector3f normal
)
Public Function SetFaceNormal ( 
	index As Integer,
	normal As Vector3f
) As Boolean

Parameters

index
Type: SystemInt32
An index.
normal
Type: Rhino.GeometryVector3f
A normal vector.

Return Value

Type: Boolean
true on success; false on error.
See Also