UAddPivotActorTool

Given selected actors, creates an empty actor as the parent of those actors, at a location specified using the gizmo.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MeshModelingToolsEditorOnly

Header

/Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/MeshModelingToolsEditorOnly/Public/AddPivotActorTool.h

Include

#include "AddPivotActorTool.h"

Syntax

UCLASS()
class UAddPivotActorTool : public UMultiSelectionMeshEditingTool

Remarks

Given selected actors, creates an empty actor as the parent of those actors, at a location specified using the gizmo. This is useful for creating a permanent alternate pivot to use in animation.

Variables

Name Description

Protected variable UProperty

TObjectPtr< UDr...

 

DragAlignmentMechanic

Protected variable

TWeakObjectPtr<...

 

ExistingPivotActor

Protected variable

FTransform

 

ExistingPivotOriginalTransform

Protected variable UProperty

TObjectPtr< UCo...

 

TransformGizmo

Protected variable UProperty

TObjectPtr< UTr...

 

TransformProxy

Functions

Name Description

Public function Virtual

void

 

SetPivotRepositionMode

(
    AActor* PivotActor
)

Overridden from UInteractiveTool

Name Description

Public function Virtual Const

bool

 

HasAccept()

Public function Virtual Const

bool

 

HasCancel()

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