Navigation
API > API/Plugins > API/Plugins/FractureEditor
Tools derived from this class should require parameter inputs from the user, only the bone selection.
| Name | UFractureActionTool |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ChaosEditor/Source/FractureEditor/Public/FractureTool.h |
| Include Path | #include "FractureTool.h" |
Syntax
UCLASS (Abstract)
class UFractureActionTool : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UFractureActionTool
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UFractureActionTool
(
const FObjectInitializer& ObjInit |
FractureTool.h |
Structs
| Name | Remarks |
|---|---|
| FModifyContextScope | Scope sets up modification and updates UI after. |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanExecute() |
FractureTool.h | ||
virtual void Execute
(
TWeakPtr< FFractureEditorModeToolkit > InToolkit |
Executes the command. Derived types need to be implemented in a thread safe way | FractureTool.h | |
virtual FText GetDisplayText() |
This is the Text that will appear on the tool button to execute the tool | FractureTool.h | |
virtual TArray< FFractureToolContext > GetFractureToolContexts() |
FractureTool.h | ||
virtual FSlateIcon GetToolIcon() |
FractureTool.h | ||
virtual FText GetTooltipText() |
FractureTool.h | ||
const TSharedPtr< FUICommandInfo > & GetUICommandInfo() |
Gets the UI command info for this command | FractureTool.h | |
virtual void RegisterUICommand
(
FFractureEditorCommands* BindingContext |
FractureTool.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddAdditionalAttributesIfRequired
(
UGeometryCollection* GeometryCollectionObject |
FractureTool.h | ||
static void AddSingleRootNodeIfRequired
(
UGeometryCollection* GeometryCollectionObject |
FractureTool.h | ||
static void ClearProximity
(
FGeometryCollection* GeometryCollection |
FractureTool.h | ||
static TArray< FString > GetSelectedComponentMaterialNames
(
bool bIncludeDefault, |
FractureTool.h | ||
static void GetSelectedGeometryCollectionComponents
(
TSet< UGeometryCollectionComponent* >& GeomCompSelection, |
Get the Geometry Collection components in the current selection | FractureTool.h | |
static bool IsGeometryCollectionSelected() |
FractureTool.h | ||
static bool IsStaticMeshSelected() |
FractureTool.h | ||
static void Refresh
(
FFractureToolContext& Context, |
FractureTool.h | ||
static void Refresh
(
UGeometryCollectionComponent* Component, |
FractureTool.h | ||
static void SetOutlinerComponents
(
TArray< FFractureToolContext >& InContexts, |
FractureTool.h |