SelectMode Groups

book_4_sparkGenerated
code_blocksInput

Description

The Editor.MapEditor.SelectMode.Groups 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 groups, ungrouped entities, and ungrouped solids. It is a static and public field, meaning it can be accessed without instantiating the SelectMode enum.

Usage

To use the Groups selection mode, you can set the selection mode of the map editor to SelectMode.Groups. This will enable the selection of grouped objects, as well as entities and solids that are not part of any group.

Example

// Example of setting the selection mode to Groups
Editor.MapEditor.SelectMode currentMode = Editor.MapEditor.SelectMode.Groups;

// Use currentMode in your map editor logic to handle group selections
if (currentMode == Editor.MapEditor.SelectMode.Groups)
{
    // Logic for handling group selection
}