Navigation
API > API/Plugins > API/Plugins/FractureEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdMode
- UBaseLegacyWidgetEdMode
- UFractureEditorMode
References
| Module | FractureEditor |
| Header | /Engine/Plugins/Experimental/ChaosEditor/Source/FractureEditor/Public/FractureEditorMode.h |
| Include | #include "FractureEditorMode.h" |
Syntax
UCLASS&40;Transient&41;
class UFractureEditorMode :
public UBaseLegacyWidgetEdMode,
public FEditorUndoClient,
public ILegacyEdModeSelectInterface
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Used to update outliner when the selection hasn't change needed because the outliner is not built yet when Enter() is called TODO: We may be able to remove this function if we can find a way to invoke Enter's current selection-update logic after the outliner UI is built | ||
| bool | SelectFromClick
(
HHitProxy* HitProxy, |
Helper for HandleClick, exposed to allow other code paths to handle clicks via the same code path. | |
| bool | UpdateSelection
(
const TArray< int32 >& PreviousSelection, |
Helpers for FrustumSelect + to expose similar selection functionality to other code. | |
| bool | UpdateSelectionInFrustum
(
const FConvexVolume& InFrustum, |
Helpers for FrustumSelect + to expose similar selection functionality to other code. |
Overridden from UEdMode
| Type | Name | Description | |
|---|---|---|---|
| bool | ComputeBoundingBoxForViewportFocus
(
AActor* Actor, |
Allows an editor mode to override the bounding box used to focus the viewport on a selection | |
| void | |||
| void | Enter () |
||
| void | Exit () |
||
| bool | GetPivotForOrbit
(
FVector& OutPivot |
Lets each mode/tool specify a pivot point around which the camera should orbit | |
| bool | UsesToolkits () |
True if this mode uses a toolkit mode (eventually they all should) |
Overridden from ILegacyEdModeWidgetInterface
| Type | Name | Description | |
|---|---|---|---|
| void | DrawHUD
(
FEditorViewportClient* ViewportClient, |
||
| void | Render
(
const FSceneView* View, |
Overridden from ILegacyEdModeViewportInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | HandleClick
(
FEditorViewportClient* InViewportClient, |
||
| bool | InputAxis
(
FEditorViewportClient* InViewportClient, |
||
| bool | InputKey
(
FEditorViewportClient* ViewportClient, |
||
| void | Tick
(
FEditorViewportClient* ViewportClient, |
Overridden from FEditorUndoClient
| Type | Name | Description | |
|---|---|---|---|
| bool | MatchesContext
(
const FTransactionContext& InContext, |
Called to see if the context of the current undo/redo operation is a match for the client Default state matching old context-less undo is Context="" and PrimaryObject=NULL | |
| void | PostRedo
(
bool bSuccess |
Signal that client should run any PostRedo code | |
| void | PostUndo
(
bool bSuccess |
Signal that client should run any PostUndo code |
Overridden from ILegacyEdModeSelectInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | BoxSelect
(
FBox& InBox, |
Lets each mode/tool handle box selection in its own way. | |
| bool | FrustumSelect
(
const FConvexVolume& InFrustum, |
Lets each mode/tool handle frustum selection in its own way. |
Constants
| Name | Description |
|---|---|
| EM_FractureEditorModeId |