book_4_sparkGenerated
code_blocksInput

Description

The Faces field is a member of the SelectMode enumeration within the Editor.MapEditor namespace. This enumeration is used to define different selection modes available in the map editor, specifically for selecting faces of objects within the editor environment.

Usage

Use the Faces selection mode when you need to select and manipulate the individual faces of objects in the map editor. This is particularly useful for tasks that require precise control over the surface of 3D models, such as texturing or modifying the geometry of a model.

Example

// Example of using SelectMode.Faces in a map editor context

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

// Now, the editor is set to select faces of objects
// Perform operations that require face selection
editor.SelectFace(someFaceId);