s&box docs
API ReferenceEditor.MapEditor

public static abstract sealed class Editor.MapEditor.Selection

Current selection set for the active map

Note

Currently this only supports `Editor.MapDoc.MapNode` selections. There are selections of vertices, edges, faces too that would likely change this API

Broader workflow and conceptual references connected to this API.

Methods

Showing 6 methods

public static void Add(Editor.MapDoc.MapNode node)

Add the map node to the current set

public static void Clear()

Clear everything from the current selection set

public static void InvertSelection()

Invert the current selection

public static void Remove(Editor.MapDoc.MapNode node)

Remove this map node from the current set if it exists

public static void SelectAll()

Add all to the current selection

public static void Set(Editor.MapDoc.MapNode node)

Clear the current set, making the map node the only selected node

Properties

Showing 3 properties

public static System.Collections.Generic.IEnumerable`1<Editor.MapDoc.MapNode> Editor.MapEditor.Selection.All { get; set; }

All the map nodes in the current selection set

Metadata

FieldValue
NamespaceEditor.MapEditor
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.MapEditor.Selection

On this page