RhinoCommon API
MeshVertexNormalListSetNormal Method (Int32, Vector3f) |
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 vertex list.
If [index] is larger than [Count], the function will return false.
Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll)
public bool SetNormal( int index, Vector3f normal )
Public Function SetNormal ( index As Integer, normal As Vector3f ) As Boolean
Parameters
- index
- Type: SystemInt32
Index of vertex normal to set. - normal
- Type: Rhino.GeometryVector3f
The new normal at the index.
Return Value
Type: Booleantrue on success, false on failure.