UTransformMeshesTool

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MeshModelingTools

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/MeshModelingTools/Public/TransformMeshesTool.h

Include

#include "TransformMeshesTool.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UTransformMeshesTool :
    public UMultiSelectionTool,
    public IClickDragBehaviorTarget

Variables

Name Description

Protected variable UProperty

TArray< FTransf...

 

ActiveGizmos

Protected variable

int

 

ActiveSnapDragIndex

Protected variable

bool

 

bCurSetPivotMode

Protected variable

ETransformMeshe...

 

CurTransformMode

Protected variable

UInteractiveGiz...

 

GizmoManager

Protected variable

FFrame3d

 

StartDragFrameWorld

Protected variable

FTransform

 

StartDragTransform

Protected variable

UWorld *

 

TargetWorld

Protected variable UProperty

UTransformMeshe...

 

TransformProps

Constructors

Name Description

Public function

UTransformMeshesTool()

Functions

Name Description

Protected function

void

 

OnParametersUpdated()

Protected function

void

 

ResetActiveGizmos()

Protected function

void

 

SetActiveGizmos_PerObject()

Protected function

void

 

SetActiveGizmos_Single

(
    bool bLocalRotations
)

Public function Virtual

void

 

SetWorld

(
    UWorld* World,
    UInteractiveGizmoManager* Gizm...
)

Protected function

void

 

UpdateSetPivotModes

(
    bool bEnableSetPivot
)

Protected function

void

 

UpdateTransformMode

(
    ETransformMeshesTransformMode NewMo...
)

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

CanAccept()

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

 

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

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Allow the Tool to do any necessary processing on Tick

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss