MeshVertexStatusList

References
Provides access to status information relative to components of a mesh.

Properties

Capacity

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

Count

#Since v6.0
public int Count { get; set; }
Gets or sets the number of hidden vertices. For this to be a valid part of a mesh, this count should be the same as the one of mesh vertices.
Count

HiddenCount

#Since v6.0
public int HiddenCount { get; }
Gets a value indicating how many vertices have been set to hidden.
Explicit

ICollection<bool>.IsReadOnly

#
bool ICollection<bool>.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 bool this[int index] { get; set; }
Gets or sets the hidden value at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.
index (int)Index of hidden flag to access.
The hidden flag at [index].
ArgumentOutOfRangeExceptionThrown when the index is invalid.

Methods

Add

#Since v6.0
public void Add(bool hidden)
Adds a new flag at the end of the list.
hidden (bool)True if vertex is hidden.
The index of the newly added hidden vertex.

AddRange

#Since v6.0
public void AddRange(IEnumerable<bool> values)
Appends an array, a list or any enumerable of flags to the end of the list.
values (IEnumerable<bool>)Hidden values to append.
true on success, false on failure.

Clear

#Since v6.0
public void Clear()
Clears the hidden vertex list on the mesh. This results in a fully visible mesh.

Contains

#Since v6.0
public bool Contains(bool hidden)
Determines if some vertices are hidden or some are shown.
hidden (bool)The value to be checked. True means some vertex is hidden.
True if the array contains the specified value.

CopyTo

#Since v6.0
public void CopyTo(bool[] array, int arrayIndex)
Copies to an array, starting at an index.
array (bool[])The array to be copied into.
arrayIndex (int)The starting index in the array.

Destroy

#Since v6.0
public void Destroy()
Releases all memory allocated to store hidden vertices. The list capacity will be 0 after this call.

Vertices will be immediately considered visible.

Subsequent calls can add new items.

GetEnumerator

#Since v6.0
public IEnumerator<bool> GetEnumerator()
Gets an enumerator that yields all flags in this collection.
The enumerator.
Explicit

ICollection<bool>.Add

#Since v6.0
void ICollection<bool>.Add(bool item)
item (bool)
Explicit

ICollection<bool>.Remove

#
bool ICollection<bool>.Remove(bool item)
item (bool)
Explicit

IList<bool>.IndexOf

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

IList<bool>.Insert

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

IList<bool>.RemoveAt

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

ICollection.CopyTo

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

IEnumerable.GetEnumerator

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