Choose your operating system:
Windows
macOS
Linux
Warnings
this class is likely to change in the future
Module |
|
Header |
/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Selection/PersistentMeshSelection.h |
Include |
#include "Selection/PersistentMeshSelection.h" |
struct FGenericMeshSelection
FGenericMeshSelection represents various types of selection on a Mesh. This includes various types of indices that could be interpreted in different ways.
In addition, "Render" geometry is stored, which can be used by higher-level code to draw the selection in some way (eg a selection highlight)
this class is likely to change in the future
Name | Description | ||
---|---|---|---|
|
EdgeIDs |
Selected edges, represented as index pairs because for many selections, using a pair of vertices defining/on the edge is more reliable (due to unstable edge IDs) |
|
|
FaceIDs |
Selected triangles/faces/regions |
|
|
RenderEdges |
Set of 3D lines representing selection (in world space) |
|
|
RenderVertices |
Set of 3D points representing selection (in world space) |
|
|
SourceComponent |
Component this selection applies to (eg that owns mesh, etc) |
|
|
TopologyType |
Selection type |
|
|
VertexIDs |
Selected vertices or "corners" (eg of polygroup topology) |
Name | Description | ||
---|---|---|---|
|
const TArray... |
GetGroupIDs() |
|
|
HasRenderableLines() |
||
|
IsEmpty() |
Name | Description | ||
---|---|---|---|
|
operator== ( |
Name |
Description |
|
---|---|---|
|
ETopologyType |
Selection type |