Value > Collections > Collection Types > EdgeSelection Values |
An EdgeSelection represents a set of edges for a scene mesh node as a virtual array.
As such, you can access an edge by index, iterate over the edges, and apply mapped functions to the edges.
See also Editable Mesh.
The EdgeSelection array is dynamic, i.e., its contents will change as the edges or selected edges of the mesh node change.
EdgeSelection values are mappable.
The currently selected edges of the mesh object
All of the edges of the mesh object, read-only
Returns the number of edges in the edge array.
Returns an array of names of the current edge-level named selection sets for the object the EdgeSelection is associated with.
The following property is present for singleton selections (of the form $foo.edges[n]):
Returns the index of the selected element in the mesh,
Iterating over a selection yields singleton selections in the loop body:
Retrieves the indexed edge as a singleton EdgeSelection. Index starts at 1
Retrieves the indexed edges as a EdgeSelection. Index starts at 1.
Retrieves the edge-level named selection set, where the name of the named selection set can be specified as a name or string value.
Sets the edge-level named selection set to the specified edges.
The name of the named selection set can be specified as a name or string value, and the edges can be specified as an array, bitArray, or a EdgeSelection from the same object.
Moves the edges in the EdgeSelection.
Selects the edges in the EdgeSelection.
Deselects the edges in the EdgeSelection.
Deletes the edges in the EdgeSelection.
Appends the edge(s) to the EdgeSelection.
Returns the selection index of the matching item or 0 if not found. The item is selection index or singleton EdgeSelection.