M_Rhino_Geometry_Collections_MeshVertexNormalList_SetNormal - mcneel/rhinocommon-api-docs GitHub Wiki
Sets or adds a vertex normal to the list. If [index] is less than [Count], the existing vertex normal at [index] will be modified.
If [index] equals [Count], a new vertex normal is appended to the end of the list.
If [index] is larger than [Count], the function will return false.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public bool SetNormal(
int index,
Vector3d normal
)
VB
Public Function SetNormal (
index As Integer,
normal As Vector3d
) As Boolean
- index
- Type: System.Int32
Index of vertex normal to set. - normal
- Type: Rhino.Geometry.Vector3d
The new normal at the index.
Type: Boolean
true on success, false on failure.
Supported in: 6.0.16224.21491, 5D58w
MeshVertexNormalList Class
SetNormal Overload
Rhino.Geometry.Collections Namespace