URepositionableTransformGizmo

A transform gizmo that also allows the user to reposition it by middle-clicking rotation/translation components.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/RepositionableTransformGizmo.h

Include

#include "BaseGizmos/RepositionableTransformGizmo.h"

Syntax

class URepositionableTransformGizmo : public UCombinedTransformGizmo

Remarks

A transform gizmo that also allows the user to reposition it by middle-clicking rotation/translation components.

Variables

Name Description

Protected variable

TArray< UIntera...

 

PivotAlignmentGizmos

Subset of ActiveGizmos, for use by SetPivotAlignmentFunctions

Protected variable

TUniqueFunction...

 

PivotAlignmentRayCaster

Protected variable

TObjectPtr< UGi...

 

RepositionStateTarget

Protected variable

TUniqueFunction...

 

ShouldAlignPivot

Functions

Name Description

Protected function

void

 

ModifyPivotAxisGizmo

(
    UInteractiveGizmo* SubGizmoIn
)

Helper functions.

Protected function

void

 

ModifyPivotPlaneGizmo

(
    UInteractiveGizmo* SubGizmoIn
)

Modifies a UPlanePositionGizmo after its addition via AddPlaneTranslationGizmo for use in gizmo repositioning.

Protected function

void

 

ModifyPivotRotateGizmo

(
    UInteractiveGizmo* SubGizmoIn
)

Modifies a UAxisAngleGizmo after its addition via AddAxisRotationGizmo for use in gizmo repositioning.

Public function Virtual

void

 

SetPivotAlignmentFunctions

(
    TUniqueFunction< bool()>&& ShouldA...,
    TUniqueFunction< bool&,...
)

Allows the user to provide functions to use in aligning the gizmo during repositioning only.

Overridden from UCombinedTransformGizmo

Name Description

Public function Virtual

void

 

SetActiveTarget

(
    UTransformProxy* Target,
    IToolContextTransactionProvider...
)

Set the active target object for the Gizmo

Public function Virtual

void

 

SetWorldAlignmentFunctions

(
    TUniqueFunction< bool()>&& ShouldA...,
    TUniqueFunction< bool&,...
)

Allows the user to provide functions to use for aligning the gizmo destination to items in the scene.