Navigation
API > API/Plugins > API/Plugins/DynamicMesh
FGeometrySelection represents a subset of geometric elements of a larger object, for example a Mesh (currently the only use case). The main selection is represented via 64-bit unsigned integers. The integers are stored in a TSet for efficient unique adds and removals. No assumptions are made about the values, they could be (eg) mesh indices, IDs of some type, or even pointer values.
| Name | FGeometrySelection |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Selections/GeometrySelection.h |
| Include Path | #include "Selections/GeometrySelection.h" |
Syntax
struct FGeometrySelection
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ElementType | EGeometryElementType | Type of geometric element represented by this selection, if applicable | Selections/GeometrySelection.h | |
| Selection | TSet< uint64 > | Set of selected items/elements | Selections/GeometrySelection.h | |
| TopologyType | EGeometryTopologyType | Type of geometric topology this selection is defined relative to, if applicable | Selections/GeometrySelection.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeTypes
(
const FGeometrySelection& FromSelection |
Initialize the Element and Topology types for this Selection based on another Selection | Selections/GeometrySelection.h | |
void InitializeTypes
(
EGeometryElementType ElementTypeIn, |
Initialize the Element and Topology types for this Selection | Selections/GeometrySelection.h | |
bool IsEmpty() |
Selections/GeometrySelection.h | ||
bool IsSameType
(
const FGeometrySelection& OtherSelection |
Selections/GeometrySelection.h | ||
int32 Num() |
Selections/GeometrySelection.h | ||
void Reset() |
Clear the Selection (may not release memory) | Selections/GeometrySelection.h |