MeshFaceNormalList

References
Provides access to the Face normals of a Mesh.

Properties

Capacity

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

Count

#Since v5.0
Gets or sets the number of mesh face normals.
public int Count { get; set; }
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[
index
]

this[]

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

Methods

AddFaceNormal

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

AddFaceNormal

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

AddFaceNormal

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

AddFaceNormal

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

Clear

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

ComputeFaceNormals

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

Destroy

#Since v6.0
Releases all memory allocated to store face normals. The list capacity will be 0 after this call.

Subsequent calls can add new items.

public void Destroy()

GetEnumerator

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

SetFaceNormal

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

SetFaceNormal

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

SetFaceNormal

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

SetFaceNormal

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

ICollection<Vector3f>.Add

#
void ICollection<Vector3f>.Add()
Explicit

ICollection<Vector3f>.Contains

#
Explicit

ICollection<Vector3f>.CopyTo

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

ICollection<Vector3f>.Remove

#
Explicit

IList<Vector3f>.IndexOf

#
int IList<Vector3f>.IndexOf()
Explicit

IList<Vector3f>.Insert

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

IList<Vector3f>.RemoveAt

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

ICollection.CopyTo

#
void ICollection.CopyTo(
array,
index
)
Explicit

IEnumerable.GetEnumerator

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

IList.Add

#
int IList.Add(
value
)
Explicit

IList.Contains

#
bool IList.Contains(
value
)
Explicit

IList.IndexOf

#
int IList.IndexOf(
value
)
Explicit

IList.Insert

#
void IList.Insert(
index,
value
)
Explicit

IList.Remove

#
void IList.Remove(
value
)
Explicit

IList.RemoveAt

#
void IList.RemoveAt(
index
)

UnitizeFaceNormals

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