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.
Parameters:
| index (int) | Index of hidden flag to access. |
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.
Parameters:
| hidden (bool) | True if vertex is hidden. |
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.
Parameters:
| values (IEnumerable<bool>) | Hidden values to append. |
Returns: true on success, false on failure.
public void Clear()
Clears the hidden vertex list on the mesh. This results in a fully visible mesh.
Determines if some vertices are hidden or some are shown.
Parameters:
| hidden (bool) | The value to be checked. True means some vertex is hidden. |
Returns: True if the array contains the specified value.
Copies to an array, starting at an index.
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.
Gets an enumerator that yields all flags in this collection.
Returns: The enumerator.