SelectMode Objects

book_4_sparkGenerated
code_blocksInput

Description

The Objects field is a member of the SelectMode enumeration within the Editor.MapEditor namespace. This field is used to specify a selection mode in the map editor that allows users to select entities and solids that are not part of any entities. It is a static and public field, making it accessible without instantiating the SelectMode enum.

Usage

Use the SelectMode.Objects field when you need to configure the map editor to select individual entities and solids that are not grouped within other entities. This is particularly useful when you want to manipulate or inspect these elements independently of any groupings they might otherwise be part of.

Example

// Example of setting the selection mode to Objects in a map editor context
Editor.MapEditor.SelectMode currentMode = Editor.MapEditor.SelectMode.Objects;

// Use currentMode to configure the editor's selection behavior
// This will allow selection of entities and solids not in entities