Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObject
- IInputBehaviorSource
- UInteractiveGizmo
- UCombinedTransformGizmo
- URepositionableTransformGizmo
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/RepositionableTransformGizmo.h |
| Include | #include "BaseGizmos/RepositionableTransformGizmo.h" |
Syntax
UCLASS (MinimalAPI)
class URepositionableTransformGizmo : public UCombinedTransformGizmo
Remarks
A transform gizmo that also allows the user to reposition it by middle-clicking rotation/translation components.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< UInteractiveGizmo * > | PivotAlignmentGizmos | Subset of ActiveGizmos, for use by SetPivotAlignmentFunctions | |
| TUniqueFunction< bool(const FRay &, FVector &)> | PivotAlignmentRayCaster | ||
| TObjectPtr< UGizmoTransformChangeStateTarget > | RepositionStateTarget | ||
| TUniqueFunction< bool()> | ShouldAlignPivot |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ModifyPivotAxisGizmo
(
UInteractiveGizmo* SubGizmoIn |
Helper functions. | |
| void | ModifyPivotPlaneGizmo
(
UInteractiveGizmo* SubGizmoIn |
Modifies a UPlanePositionGizmo after its addition via AddPlaneTranslationGizmo for use in gizmo repositioning. | |
| void | ModifyPivotRotateGizmo
(
UInteractiveGizmo* SubGizmoIn |
Modifies a UAxisAngleGizmo after its addition via AddAxisRotationGizmo for use in gizmo repositioning. | |
| void | SetPivotAlignmentFunctions
(
TUniqueFunction< bool()>&& ShouldAlignPivotIn, |
Allows the user to provide functions to use in aligning the gizmo during repositioning only. |
Overridden from UCombinedTransformGizmo
| Type | Name | Description | |
|---|---|---|---|
| void | SetActiveTarget
(
UTransformProxy* Target, |
Set the active target object for the Gizmo | |
| void | SetWorldAlignmentFunctions
(
TUniqueFunction< bool()>&& ShouldAlignTranslationIn, |
Allows the user to provide functions to use for aligning the gizmo destination to items in the scene. |