Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsExp
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveTool
- UMultiSelectionTool
- UMultiSelectionMeshEditingTool
- UEditPivotTool
References
| Module | MeshModelingToolsExp |
| Header | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsExp/Public/EditPivotTool.h |
| Include | #include "EditPivotTool.h" |
Syntax
UCLASS ()
class UEditPivotTool :
public UMultiSelectionMeshEditingTool ,
public IClickDragBehaviorTarget ,
public IInteractiveToolManageGeometrySelectionAPI
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FEditPivotTarget > | ActiveGizmos | ||
| bool | bHasCustomInitialPivot | ||
| TObjectPtr< UDragAlignmentMechanic > | DragAlignmentMechanic | ||
| TObjectPtr< UEditPivotToolActionPropertySet > | EditPivotActions | ||
| FTransform3d | InitialPivot | ||
| TArray< int > | MapToFirstOccurrences | ||
| UE::Geometry::FAxisAlignedBox3d | ObjectBounds | ||
| EEditPivotToolActions | PendingAction | ||
| FTransform | StartDragTransform | ||
| FTransform3d | Transform | ||
| TObjectPtr< UEditPivotToolProperties > | TransformProps | ||
| UE::Geometry::FAxisAlignedBox3d | WorldBounds |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyAction
(
EEditPivotToolActions ActionType |
||
| void | Precompute () |
||
| void | RequestAction
(
EEditPivotToolActions ActionType |
||
| void | |||
| void | SetActiveGizmos_Single
(
bool bLocalRotations |
||
| void | SetInitialPivot
(
FTransform3d InInitialPivot |
||
| void | SetPivotToBoxPoint
(
EEditPivotToolActions ActionPoint |
||
| void | |||
| void | UpdateAssets
(
const UE::Geometry::FFrame3d& NewPivotWorldFrame |
||
| void | UpdateSetPivotModes
(
bool bEnableSetPivot |
Overridden from UMultiSelectionMeshEditingTool
| Type | Name | Description | |
|---|---|---|---|
| void | OnShutdown
(
EToolShutdownType ShutdownType |
Overridden from UInteractiveTool
| Type | Name | Description | |
|---|---|---|---|
| bool | HasAccept () |
||
| bool | HasCancel () |
||
| void | OnPropertyModified
(
UObject* PropertySet, |
Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes | |
| void | OnTick
(
float DeltaTime |
Allow the Tool to do any necessary processing on Tick | |
| void | RegisterActions
(
FInteractiveToolActionSet& ActionSet |
Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction. | |
| void | Render
(
IToolsContextRenderAPI* RenderAPI |
Allow the Tool to do any custom drawing (ie via PDI/RHI) | |
| void | Setup () |
Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called |
Overridden from IClickDragBehaviorTarget
| Type | Name | Description | |
|---|---|---|---|
| FInputRayHit | CanBeginClickDragSequence
(
const FInputDeviceRay& PressPos |
Test if target can begin click-drag interaction at this point | |
| void | OnClickDrag
(
const FInputDeviceRay& DragPos |
Notify Target that input position has changed | |
| void | OnClickPress
(
const FInputDeviceRay& PressPos |
Notify Target that click press ocurred | |
| void | OnClickRelease
(
const FInputDeviceRay& ReleasePos |
Notify Target that click release occurred | |
| void | Notify Target that click-drag sequence has been explicitly terminated (eg by escape key) |
Overridden from IInteractiveToolManageGeometrySelectionAPI
| Type | Name | Description | |
|---|---|---|---|
| bool | IInteractiveToolManageGeometrySelectionAPI this tool won't update external geometry selection or change selection-relevant mesh IDs. |