public static class BlockoutSelectionThe selection verbs of doc 24's inventory, as functions over one editing state.
Remarks
Between the mode and the kernel, and it holds nothing. The walks are MeshTopology's and the set is MeshSelection's; what is here is the small amount of arranging each verb needs — which element the walk starts from, what to do when the mode and the verb disagree about a kind, and whether a verb applies at all.
⚠ Every one of them is a no-op rather than an error when it does not apply. "Select loop" with nothing selected, "select coplanar" in vertex mode, "grow" on an empty selection — all are things a key press produces, none is a mistake, and a command that threw would take the editor down over a keystroke.
Methods (10)
public static bool Loop(MeshEdit editing, bool additive = false)Selects the edge loop through the active edge.
public static bool Ring(MeshEdit editing, bool additive = false)Selects the edge ring through the active edge.
public static bool Grow(MeshEdit editing)Takes in everything touching what is selected.
public static bool Shrink(MeshEdit editing)Gives back everything on the edge of what is selected.
public static bool Group(MeshEdit editing, bool additive = false)Selects every face in the same group as the active one.
public static bool Coplanar(MeshEdit editing, bool additive = false)Selects every face coplanar with and joined to the active one.
public static bool Linked(MeshEdit editing, bool additive = false)Selects every face joined to the active one, however the surface turns.
public static bool All(MeshEdit editing)Selects every element of the current mode.
public static bool Invert(MeshEdit editing)Selects what is not selected.
public static bool None(MeshEdit editing)Deselects everything.
Used by (2)
- BlockoutModeVixen.Editor.Blockout
- BlockoutSelectionTestsVixen.Editor.Blockout.Tests