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