MeshVertexStatusList
ReferencesProvides access to status information relative to components of a mesh.
Properties
Gets or sets the total number of hidden vertex information the internal data structure can hold without resizing.
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.
Implements: Count
Indexers
this[]
#Gets or sets the hidden value at the given index. The index must be valid or an IndexOutOfRangeException will be thrown.
Returns: The hidden flag at [index].
Exceptions:
| ArgumentOutOfRangeException | Thrown when the index is invalid. |
Methods
Adds a new flag at the end of the list.
Returns: The index of the newly added hidden vertex.
Appends an array, a list or any enumerable of flags to the end of the list.
Returns: true on success, false on failure.
Clears the hidden vertex list on the mesh. This results in a fully visible mesh.
public void Clear()
Determines if some vertices are hidden or some are shown.
Returns: True if the array contains the specified value.
Copies to an array, starting at an index.
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.
public void Destroy()
Gets an enumerator that yields all flags in this collection.
Returns: The enumerator.