Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/BaseTools
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- UMultiSelectionTool
- UMultiTargetWithSelectionTool
- ULatticeDeformerTool
- USplitMeshesTool
- UUVTransferTool
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/BaseTools/MultiTargetWithSelectionTool.h |
| Include | #include "BaseTools/MultiTargetWithSelectionTool.h" |
Syntax
UCLASS ()
class UMultiTargetWithSelectionTool : public UMultiSelectionTool
Remarks
UMultiTargetWithSelectionToolBuilder is a base tool builder for multi selection tools with selections. Currently, geometry selection across multiple meshes is not supported, restricting the effectiveness of this class. If that support is built in the future, this will become more useful, and likely need to be expanded Multi Target with Selection tool base class.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< UE::Geometry::FGeometrySelection > | GeometrySelectionArray | ||
| TArray< bool > | GeometrySelectionBoolArray | ||
| TObjectPtr< UPreviewGeometry > | GeometrySelectionViz | ||
| TObjectPtr< UGeometrySelectionVisualizationProperties > | GeometrySelectionVizProperties | ||
| TWeakObjectPtr< UWorld > | TargetWorld |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const UE::Geometry::FGeometrySelection & | GetGeometrySelection
(
const int TargetIndex |
||
| UWorld * | |||
| bool | |||
| bool | HasGeometrySelection
(
const int TargetIndex |
||
| void | InitializeGeometrySelectionArrays
(
const int NumTargets |
Initialize the Geometry Selection array and the boolean arrays according to the number of targets | |
| void | OnShutdown
(
EToolShutdownType ShutdownType |
||
| void | SetGeometrySelection
(
const UE::Geometry::FGeometrySelection& SelectionIn, |
||
| void | SetGeometrySelection
(
UE::Geometry::FGeometrySelection&& SelectionIn, |
||
| void | SetTargetWorld
(
UWorld* World |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | Shutdown
(
EToolShutdownType ShutdownType |
Called by ToolManager to shut down the Tool |