SelectMode Meshes

book_4_sparkGenerated
code_blocksInput

Description

The Meshes field is a member of the SelectMode enumeration within the Editor.MapEditor namespace. It is used to specify a selection mode in the map editor that allows users to select point entities, solids within entities, and standalone solids. This mode is particularly useful when you need to manipulate or inspect the mesh components of a map.

Usage

To use the Meshes selection mode, set the selection mode of your map editor to SelectMode.Meshes. This will enable the selection of mesh-related components, allowing for detailed editing and manipulation of the map's geometry.

Example

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

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

// Now the editor is set to select point entities, solids in entities, and standalone solids.