MeshFaceNormalList

References
Provides access to the Face normals of a Mesh.

Properties

Capacity

#Since v6.0
public int Capacity { get; set; }
Gets or sets the total number of face normals the internal data structure can hold without resizing.

Count

#Since v5.0
public int Count { get; set; }
Gets or sets the number of mesh face normals.
Count
Explicit

ICollection<Vector3f>.IsReadOnly

#
Explicit

ICollection.IsSynchronized

#
bool ICollection.IsSynchronized
Explicit

ICollection.SyncRoot

#
Explicit

IList.IsFixedSize

#
bool IList.IsFixedSize
Explicit

IList.IsReadOnly

#
bool IList.IsReadOnly

Indexers

Explicit

IList.this[]

#
object IList.this[int index]
index (int)

this[]

#
public Vector3f this[int index] { get; set; }
Gets or sets the face normal at the given face index. The index must be valid or an IndexOutOfRangeException will be thrown.
index (int)Index of face normal to access.
The face normal at [index].
IndexOutOfRangeExceptionThrown when the index is invalid.

Methods

AddFaceNormal

#Since v5.0
public int AddFaceNormal(double x, double y, double z)
Appends a face normal to the list of mesh face normals.
x (double)X component of face normal.
y (double)Y component of face normal.
z (double)Z component of face normal.
The index of the newly added face normal.

AddFaceNormal

#Since v5.0
public int AddFaceNormal(float x, float y, float z)
Appends a face normal to the list of mesh face normals.
x (float)X component of face normal.
y (float)Y component of face normal.
z (float)Z component of face normal.
The index of the newly added face normal.

AddFaceNormal

#Since v5.0
public int AddFaceNormal(Vector3d normal)
Appends a face normal to the list of mesh face normals.
normal (Vector3d)New face normal.
The index of the newly added face normal.

AddFaceNormal

#Since v5.0
public int AddFaceNormal(Vector3f normal)
Appends a face normal to the list of mesh face normals.
normal (Vector3f)New face normal.
The index of the newly added face normal.

Clear

#Since v5.0
public void Clear()
Clears the Face Normal list on the mesh.

ComputeFaceNormals

#Since v5.0
public bool ComputeFaceNormals()
Computes all the face normals for this mesh based on the physical shape of the mesh.
true on success, false on failure.

Destroy

#Since v6.0
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.

GetEnumerator

#Since v5.0
public IEnumerator<Vector3f> GetEnumerator()
Gets an enumerator that yields all normals (vectors) in this collection.
The enumerator.

SetFaceNormal

#Since v5.0
public bool SetFaceNormal(int index, double x, double y, double z)
Sets a face normal vector at an index using three double-precision numbers.
index (int)An index.
x (double)A x component.
y (double)A y component.
z (double)A z component.
true on success; false on error.

SetFaceNormal

#Since v5.0
public bool SetFaceNormal(int index, float x, float y, float z)
Sets a face normal vector at an index using three single-precision numbers.
index (int)An index.
x (float)A x component.
y (float)A y component.
z (float)A z component.
true on success; false on error.

SetFaceNormal

#Since v5.0
public bool SetFaceNormal(int index, Vector3d normal)
Sets a face normal vector at an index using a single-precision vector.
index (int)An index.
normal (Vector3d)A normal vector.
true on success; false on error.

SetFaceNormal

#Since v5.0
public bool SetFaceNormal(int index, Vector3f normal)
Sets a face normal vector at an index using a single-precision vector.
index (int)An index.
normal (Vector3f)A normal vector.
true on success; false on error.
Explicit

ICollection<Vector3f>.Add

#
void ICollection<Vector3f>.Add(Vector3f item)
item (Vector3f)
Explicit

ICollection<Vector3f>.Contains

#
item (Vector3f)
Explicit

ICollection<Vector3f>.CopyTo

#
void ICollection<Vector3f>.CopyTo(Vector3f[] array, int arrayIndex)
array (Vector3f[])
arrayIndex (int)
Explicit

ICollection<Vector3f>.Remove

#
item (Vector3f)
Explicit

IList<Vector3f>.IndexOf

#
int IList<Vector3f>.IndexOf(Vector3f item)
item (Vector3f)
Explicit

IList<Vector3f>.Insert

#
void IList<Vector3f>.Insert(int index, Vector3f item)
index (int)
item (Vector3f)
Explicit

IList<Vector3f>.RemoveAt

#
void IList<Vector3f>.RemoveAt(int index)
index (int)
Explicit

ICollection.CopyTo

#
void ICollection.CopyTo(Array array, int index)
array (Array)
index (int)
Explicit

IEnumerable.GetEnumerator

#Since v5.0
IEnumerator IEnumerable.GetEnumerator()
Explicit

IList.Add

#
int IList.Add(object value)
value (object)
Explicit

IList.Contains

#
bool IList.Contains(object value)
value (object)
Explicit

IList.IndexOf

#
int IList.IndexOf(object value)
value (object)
Explicit

IList.Insert

#
void IList.Insert(int index, object value)
index (int)
value (object)
Explicit

IList.Remove

#
void IList.Remove(object value)
value (object)
Explicit

IList.RemoveAt

#
void IList.RemoveAt(int index)
index (int)

UnitizeFaceNormals

#Since v5.0
public bool UnitizeFaceNormals()
Unitizes all the existing face normals.
true on success, false on failure.