MeshFaceNormalList
ReferencesProvides access to the Face normals of a Mesh.
Properties
Gets or sets the total number of face normals the internal data structure can hold without resizing.
Gets or sets the number of mesh face normals.
Implements: Count
Indexers
this[]
#Gets or sets the face normal at the given face index. The index must be valid or an IndexOutOfRangeException will be thrown.
Parameters:
| index (int) | Index of face normal to access. |
Returns: The face normal at [index].
Exceptions:
| IndexOutOfRangeException | Thrown when the index is invalid. |
Methods
Appends a face normal to the list of mesh face normals.
Appends a face normal to the list of mesh face normals.
Appends a face normal to the list of mesh face normals.
Parameters:
| normal (Vector3d) | New face normal. |
Returns: The index of the newly added face normal.
Appends a face normal to the list of mesh face normals.
Parameters:
| normal (Vector3f) | New face normal. |
Returns: The index of the newly added face normal.
Computes all the face normals for this mesh based on the physical shape of the mesh.
Returns: true on success, false on failure.
public void Destroy()
Releases all memory allocated to store face normals. The list capacity will be 0 after this call.
Subsequent calls can add new items.
Gets an enumerator that yields all normals (vectors) in this collection.
Returns: The enumerator.
Sets a face normal vector at an index using three double-precision numbers.
Sets a face normal vector at an index using three single-precision numbers.
Sets a face normal vector at an index using a single-precision vector.
Sets a face normal vector at an index using a single-precision vector.
Parameters:
| item (Vector3f) |
Parameters:
| item (Vector3f) |
Parameters:
| array (Vector3f[]) | |
| arrayIndex (int) |
Parameters:
| item (Vector3f) |
Parameters:
| item (Vector3f) |