/Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/TransformGizmo.h
UTransformGizmoprovides standard Transformation Gizmo interactions, applied to aUTransformProxytarget object.Bydefault the Gizmo will be a standard XYZ translate/rotate Gizmo (axis and plane translation).
class UTransformGizmo : public [UInteractiveGizmo](API\Runtime\InteractiveToolsFramework\UInteractiveGizmo), public [IHoverBehaviorTarget](API\Runtime\InteractiveToolsFramework\BaseBehaviors\IHoverBehaviorTarget), public [IClickDragBehaviorTarget](API\Runtime\InteractiveToolsFramework\BaseBehaviors\IClickDragBehaviorTarget)
TObjectPtr<UTr...
ActiveTarget
The active target object for the Gizmo
TObjectPtr<UMa...
AxisMaterialX
TObjectPtr<UMa...
AxisMaterialY
TObjectPtr<UMa...
AxisMaterialZ
bool
bDisallowNegativeScaling
bool
bGridSizeIsExplicit
Optional grid size which overrides the Context Grid
bool
bInInteraction
Whether gizmo is interacting.
bool
bRotationGridSizeIsExplicit
Optional grid size which overrides the Context Rotation Grid
bool
bSnapToWorldGrid
If true, then when using world frame, Axis and Plane translation snap to the world grid via the ContextQueriesAPI (in PositionSnapFunction)
bool
bSnapToWorldRotGrid
If true, then when using world frame, Axis and Plane translation snap to the world grid via the ContextQueriesAPI (in RotationSnapFunction)
bool
bVisible
Whether gizmo is visible.
TObjectPtr<UGi...
CameraAxisSource
Axis that points towards camera, X/Y plane tangents aligned to right/up.
TObjectPtr<UMa...
CurrentAxisMaterial
TEnumAsByte<EA...
CurrentAxisToDraw
Currently rendered axis list
EGizmoTransform...
CurrentMode
Currently rendered transform mode
FTransform
CurrentTransform
Current transform
TFunction< cons...
CustomizationFunction
Customization function (to override default material or increment gizmo size for example)
TUniqueFunction...
DestinationAlignmentRayCaster
FVector
ExplicitGridSize
FRotator
ExplicitRotationGridSize
TObjectPtr<UGi...
GizmoElementRoot
Root of renderable gizmo elements
TObjectPtr<UGi...
GizmoViewContext
Gizmo view context, needed for screen space interactions
TObjectPtr<UMa...
GreyMaterial
TObjectPtr<UMa...
GridMaterial
TObjectPtr<UGi...
HitTarget
The hit target object
float
InteractionAxisCurrParam
Active interaction current hit param (only valid between state target BeginModify/EndModify)
FVector
InteractionAxisDirection
Active world space axis (only valid between state target BeginModify/EndModify)
TEnumAsByte<EA...
InteractionAxisList
The values below are used in the context of a single click-drag interaction, ie if bInInteraction = true They otherwise should be considered uninitializedActive axis type (only valid between state target BeginModify/EndModify)
FVector
InteractionAxisOrigin
Active world space axis origin (only valid between state target BeginModify/EndModify)
float
InteractionAxisStartParam
Active interaction start hit param (only valid between state target BeginModify/EndModify)
float
InteractionCurrAngle
Active interaction rotation curr angle (only valid between state target BeginModify/EndModify)
FVector
InteractionPlanarAxisX
Active world space axis X used for planar (only valid between state target BeginModify/EndModify)
FVector
InteractionPlanarAxisY
Active world space axis Y used for planar (only valid between state target BeginModify/EndModify)
FVector
InteractionPlanarCurrPoint
Active interaction current point planar (only valid between state target BeginModify/EndModify)
FVector
InteractionPlanarNormal
Active world space normal used for planar (only valid between state target BeginModify/EndModify)
FVector
InteractionPlanarOrigin
Active world space planar origin (only valid between state target BeginModify/EndModify)
FVector
InteractionPlanarStartPoint
Active interaction start point planar (only valid between state target BeginModify/EndModify)
FVector2D
InteractionScreenAxisDirection
Active interaction screen axis dir (only valid between state target BeginModify/EndModify)
FVector2D
InteractionScreenCurrPos
Active interaction screen current pos (only valid between state target BeginModify/EndModify)
FVector2D
InteractionScreenEndPos
Active interaction screen end pos (only valid between state target BeginModify/EndModify)
FVector2D
InteractionScreenStartPos
Active interaction screen start pos (only valid between state target BeginModify/EndModify)
float
InteractionStartAngle
Active interaction rotation start angle (only valid between state target BeginModify/EndModify)
ETransformGizmo...
LastHitPart
Last hit part
TObjectPtr<UCl...
MouseBehavior
The mouse click behavior of the gizmo is accessible so that it can be modified to use different mouse keys.
TArray<TFuncti...
OnClickDragFunctions
Array of function pointers, indexed by gizmo part id, to handle click drag behavior
TArray<TFuncti...
OnClickPressFunctions
Array of function pointers, indexed by gizmo part id, to handle click press behavior
TArray<TFuncti...
OnClickReleaseFunctions
Array of function pointers, indexed by gizmo part id, to handle click release behavior
TArray<TFuncti...
OnUpdateHoverFunctions
Array of function pointers, indexed by gizmo part id, to handle update hovering state
TArray<TFuncti...
OnUpdateInteractingFunctions
Array of function pointers, indexed by gizmo part id, to handle update interacting state
TObjectPtr<UMa...
OpaquePlaneMaterialXY
TObjectPtr<UGi...
RotateArcballInnerElement
Rotate arcball inner circle
TObjectPtr<UGi...
RotateArcballOuterElement
Rotate arcball outer circle
TObjectPtr<UGi...
RotateOuterCircleElement
Rotate outer circle
TObjectPtr<UGi...
RotateScreenSpaceElement
Rotate screen space circle
TObjectPtr<UGi...
RotateXAxisElement
Rotate X Axis
TObjectPtr<UGi...
RotateYAxisElement
Rotate Y Axis
TObjectPtr<UGi...
RotateZAxisElement
Rotate Z Axis
double
ScaleMultiplier
Percentage-based scale multiplier
TObjectPtr<UGi...
ScalePlanarXYElement
Scale planar XY handle
TObjectPtr<UGi...
ScalePlanarXZElement
Scale planar XZ handle
TObjectPtr<UGi...
ScalePlanarYZElement
Scale planar YZ handle
TObjectPtr<UGi...
ScaleUniformElement
Uniform scale object
TObjectPtr<UGi...
ScaleXAxisElement
Scale X Axis object
TObjectPtr<UGi...
ScaleYAxisElement
Scale Y Axis object
TObjectPtr<UGi...
ScaleZAxisElement
Scale Z Axis object
TUniqueFunction...
ShouldAlignDestination
These are used to let the translation subgizmos use raycasts into the scene to align the gizmo with scene geometry.
TScriptInterfac...
StateTarget
The state target is created internally duringSetActiveTarget()if no one is provided.
TScriptInterfac...
TransformGizmoSource
Transform Gizmo Source
TObjectPtr<UGi...
TranslatePlanarXYElement
Translate planar XY handle
TObjectPtr<UGi...
TranslatePlanarXZElement
Translate planar XZ handle
TObjectPtr<UGi...
TranslatePlanarYZElement
Translate planar YZ handle
TObjectPtr<UGi...
TranslateScreenSpaceElement
Translate screen-space
TObjectPtr<UGi...
TranslateXAxisElement
Gizmo Objects, used for rendering and hit testingTranslate X Axis
TObjectPtr<UGi...
TranslateYAxisElement
Translate Y Axis
TObjectPtr<UGi...
TranslateZAxisElement
Translate Z Axis
TObjectPtr<UMa...
TransparentVertexColorMaterial
Materials and colors to be used when drawing the items for each axis
TObjectPtr<UMa...
WhiteMaterial