Selection

Choose your operating system:

Windows

macOS

Linux

Classes

Name

Description

Public class

FDynamicMeshSelection

Class that represents a selection in a dynamic mesh.

Public struct

FGenericMeshSelection

FGenericMeshSelection represents various types of selection on a Mesh.

Public class

FGroupTopologySelector

FGroupTopologySelector implements selection behavior for a FGroupTopology mesh.

Public struct

FMeshSelectionMechanicStyle

These values are all overwritten TODO Directly use the values in FUVEditorUXSettings when MeshSelectionMechanic is moved into UV Editor module, we can also remove the SetVisualizationStyle

Public class

FPersistentMeshSelectionChange

FPersistentMeshSelectionChange stores a selection change, ie before-and-after states.

Public class

FPolygonSelectionMechanicSelectionChange

Public class

FSelectClickedAction

BehaviorTarget to do world raycast selection from a click Currently used to click-select reference planes in the world

Public class UClass

UMeshSelectionMechanic

Mechanic for selecting elements of a dynamic mesh.

Public class UClass

UMeshSelectionMechanicProperties

Public class UClass

UPersistentMeshSelection

UPersistentMeshSelection is a UObject wrapper for a FGenericMeshSelection

Public class UClass

UPersistentMeshSelectionManager

UPersistentMeshSelectionManager manages an active Mesh Selection.

Public class UClass

UPolygonSelectionMechanic

UPolygonSelectionMechanic implements the interaction for selecting a set of faces/vertices/edges from a FGroupTopology on a UDynamicMeshComponent.

Public class UClass

UPolygonSelectionMechanicProperties

Enums

Name

Description

Public enum

EMeshSelectionMechanicMode

Functions

Name Description

Public function

void

 

ToolSelectionUtil::SetNewActorSelection

(
    UInteractiveToolManager* ToolM...,
    AActor* Actor
)

Change the active selection to the given Actor, via given ToolManager. Replaces existing selection.

Public function

void

 

ToolSelectionUtil::SetNewActorSelection

(
    UInteractiveToolManager* ToolM...,
    const TArray< AActor* >& Acto...
)

Change the active selection to the given Actors, via given ToolManager.

Public function

void

 

UE::Geometry::ClearActiveToolSelection

(
    UInteractiveToolManager* ToolM...
)

Clear any currently-active stored Tool selection

Public function

bool

 

UE::Geometry::DeregisterPersistentMeshSelectionManager

(
    UInteractiveToolsContext* Tool...
)

Remove any existing UPersistentMeshSelectionManager from the ToolsContext's ContextObjectStore

Public function

UPersistentM...

 

UE::Geometry::FindPersistentMeshSelectionManager

(
    UInteractiveToolManager* ToolM...
)

Find an existing UPersistentMeshSelectionManager in the ToolsContext's ContextObjectStore

Public function

const UPersi...

 

UE::Geometry::GetCurrentToolInputSelection

(
    const FToolBuilderState& SceneStat...,
    UToolTarget* Target
)

Given a FToolBuilderState, determine if an Input Selection exists that is applicable to the ToolTarget

Public function

FIndex2i

 

UE::Geometry::GetGroupEdgeRepresentativeVerts

(
    const FGroupTopology& TopologyIn,
    int GroupEdgeID
)

Returns a pair of vertex ID's that are representative of a group edge, to be able to identify a selected group edge independently of a group topology object.

Public function

FIndex2i

 

UE::Geometry::GetGroupEdgeRepresentativeVerts

(
    const FGroupTopology& TopologyIn,
    int GroupEdgeID,
    const FCompactMaps& CompactMaps
)

Utility functions for group topology manipulation.

Public function

bool

 

UE::Geometry::GetStoredSelectionAsTriangles

(
    const UPersistentMeshSelection*...,
    const FDynamicMesh3& Mesh,
    TArray< int32 >& TrianglesOut
)

Convert the given Seletion to a list of Triangles of the specified Mesh.

Public function

bool

 

UE::Geometry::RegisterPersistentMeshSelectionManager

(
    UInteractiveToolsContext* Tool...
)

The functions below are helper functions that simplify usage of a UPersistentMeshSelectionManager that is registered as a ContextStoreObject in an InteractiveToolsContext If one does not already exist, create a new instance of UPersistentMeshSelectionManager and add it to the ToolsContext's ContextObjectStore

Public function

bool

 

UE::Geometry::SetToolOutputSelection

(
    UInteractiveTool* Tool,
    UPersistentMeshSelection* Sele...
)

Set the active output selection of a Tool, which (if supported) will be persist between Tools via a UPersistentMeshSelectionManager context object.