UEditPivotTool

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

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

Variables

Constructors

Name Description

Public function

UEditPivotTool()

Functions

Name Description

Protected function Virtual

void

 

ApplyAction

(
    EEditPivotToolActions ActionType
)

Protected function

void

 

Precompute()

Public function Virtual

void

 

RequestAction

(
    EEditPivotToolActions ActionType
)

Protected function

void

 

ResetActiveGizmos()

Protected function

void

 

SetActiveGizmos_Single

(
    bool bLocalRotations
)

Protected function Virtual

void

 

SetPivotToBoxPoint

(
    EEditPivotToolActions ActionPoint
)

Protected function Virtual

void

 

SetPivotToWorldOrigin()

Protected function

void

 

UpdateAssets

(
    const UE::Geometry::FFrame3d& NewP...
)

Protected function

void

 

UpdateSetPivotModes

(
    bool bEnableSetPivot
)

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

Public function Virtual

void

 

OnPropertyModified

(
    UObject* PropertySet,
    FProperty* Property
)

Automatically called by UInteractiveToolPropertySet.OnModified delegate to notify Tool of child property set changes

Public function Virtual

void

 

OnTick

(
    float DeltaTime
)

Action support/system

Public function Virtual

void

 

RegisterActions

(
    FInteractiveToolActionSet& ActionS...
)

Override this function to register the set of Actions this Tool supports, using FInteractiveToolActionSet::RegisterAction.

Public function Virtual

void

 

Render

(
    IToolsContextRenderAPI* Render...
)

Allow the Tool to do any custom drawing (ie via PDI/RHI)

Public function Virtual

void

 

Setup()

Called by ToolManager to initialize the Tool after ToolBuilder::BuildTool() has been called

Public function Virtual

void

 

Shutdown

(
    EToolShutdownType ShutdownType
)

Called by ToolManager to shut down the Tool

Overridden from IClickDragBehaviorTarget

Name Description

Public function Virtual

FInputRayHit

 

CanBeginClickDragSequence

(
    const FInputDeviceRay& PressPos
)

Test if target can begin click-drag interaction at this point

Public function Virtual

void

 

OnClickDrag

(
    const FInputDeviceRay& DragPos
)

Notify Target that input position has changed

Public function Virtual

void

 

OnClickPress

(
    const FInputDeviceRay& PressPos
)

Notify Target that click press ocurred

Public function Virtual

void

 

OnClickRelease

(
    const FInputDeviceRay& ReleasePos
)

Notify Target that click release occurred

Public function Virtual

void

 

OnTerminateDragSequence()

Notify Target that click-drag sequence has been explicitly terminated (eg by escape key)