API ReferenceEditor.MapEditor
Selectionclass
Current selection set for the active map
object→Selection
Note
Currently this only supports `Editor.MapDoc.MapNode` selections. There are selections of vertices, edges, faces too that would likely change this API
Methods6
Showing 6 methods
public static void Add(Editor.MapDoc.MapNode node)
Add the map node to the current set
| Parameter | Type | Description |
|---|---|---|
| node | MapNode | — |
Returns:
void—public static void Clear()
Clear everything from the current selection set
Returns:
void—public static void InvertSelection()
Invert the current selection
Returns:
void—public static void Remove(Editor.MapDoc.MapNode node)
Remove this map node from the current set if it exists
| Parameter | Type | Description |
|---|---|---|
| node | MapNode | — |
Returns:
void—public static void SelectAll()
Add all to the current selection
Returns:
void—No results match this filter.
Properties3
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
public static Vector3 Editor.MapEditor.Selection.PivotPosition { get; set; }
The position of the selection's pivot
public static Editor.MapEditor.SelectMode Editor.MapEditor.Selection.SelectMode { get; set; }
The current selection mode e.g Meshes or Objects
No results match this filter.