Module |
|
Header |
/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/BaseTools/BaseCreateFromSelectedTool.h |
Include |
#include "BaseTools/BaseCreateFromSelectedTool.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UBaseCreateFromSelectedTool :
public UMultiSelectionTool,
public IDynamicMeshOperatorFactory
UBaseCreateFromSelectedTool is a base Tool (must be subclassed) that provides support for common functionality in tools that create a new mesh from a selection of one or more existing meshes
Name | Description | ||
---|---|---|---|
|
AssetAPI |
||
|
HandleSourcesProperties |
||
|
Preview |
||
|
UWorld * |
TargetWorld |
|
|
TransformGizmos |
||
|
TransformInitialScales |
||
|
TransformProperties |
||
|
TransformProxies |
Name | Description | |
---|---|---|
|
UBaseCreateFromSelectedTool() |
Name | Description | ||
---|---|---|---|
|
ConvertInputsAndSetPreviewMaterials ( |
UBaseCreateFromSelectedTool API - subclasses typically implement these functions After preview is created, this is called to convert inputs and set preview materials (grouped together because materials may come from inputs) Subclasses should always implement this. |
|
|
GenerateAsset ( |
Helper to generate assets when a result is accepted; typically does not need to be overloaded. |
|
|
GetActionName() |
Return the name of the action to be used in the Undo stack |
|
|
GetCreatedAssetName() |
Return the name to be used for generated assets. |
|
|
GetOutputMaterials() |
Return the materials to be used on the output mesh on tool accept; defaults to the materials set on the preview |
|
|
PrefixWithSourceNameIfSingleSelection ( |
Helper to build asset names |
|
|
SaveProperties() |
Overload to save any added properties in the subclasses; called on shutdown |
|
|
SetAssetAPI ( |
||
|
SetPreviewCallbacks() |
Optional overload to set callbacks on preview, e.g. to visualize results; called after preview is created. |
|
|
SetTransformGizmos() |
||
|
SetupProperties() |
Overload to initialize any added properties in subclasses; called during setup |
|
|
SetWorld ( |
||
|
TransformChanged ( |
||
|
UpdateAsset ( |
Helper to generate assets when a result is accepted; typically does not need to be overloaded. |
|
|
UpdateGizmoVisibility() |
Helpers for managing transform gizoms; typically do not need to be overloaded. |
Name | Description | ||
---|---|---|---|
|
CanAccept() |
||
|
HasAccept() |
||
|
HasCancel() |
||
|
OnPropertyModified |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes |
|
|
OnTick ( |
Action support/system |
|
|
Setup() |
InteractiveTool API - generally does not need to be modified by subclasses |
|
|
Shutdown ( |
Called by ToolManager to shut down the Tool |
Name | Description | ||
---|---|---|---|
|
TUniquePtr< ... |
MakeNewOperator() |
IDynamicMeshOperatorFactory implementation that subclass must override and implement |