SelectMode Groups

robot_2Generated
code_blocksInput

Description

The 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

Use the SelectMode.Groups field when you need to set the selection mode in the map editor to focus on groups and ungrouped elements. This is particularly useful when organizing or modifying grouped elements within a map.

Example

// Example of setting the selection mode to Groups in a map editor context

// Assuming 'mapEditor' is an instance of a map editor class
mapEditor.CurrentSelectMode = SelectMode.Groups;

// This sets the editor to select groups, ungrouped entities, and ungrouped solids.