RhinoCommon API
MeshVertexNormalListSetNormal Method (Int32, Single, Single, Single) |
Sets or adds a 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)
Since: 5.0

public bool SetNormal( int index, float x, float y, float z )
Public Function SetNormal ( index As Integer, x As Single, y As Single, z As Single ) As Boolean
Parameters
- index
- Type: SystemInt32
Index of vertex normal to set. - x
- Type: SystemSingle
X component of vertex normal. - y
- Type: SystemSingle
Y component of vertex normal. - z
- Type: SystemSingle
Z component of vertex normal.
Return Value
Type: Booleantrue on success, false on failure.
