Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
Interaction options for scale gizmo elements, controlling how user input maps to scale deltas.
| Name | FGizmoElementScaleInteraction |
| Type | struct |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/GizmoElementScale.h |
| Include Path | #include "EditorGizmos/GizmoElementScale.h" |
Syntax
USTRUCT (MinimalAPI, Category="Scale")
struct FGizmoElementScaleInteraction
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Direction | FVector2D | The drag direction corresponding with a scale increase. | EditorGizmos/GizmoElementScale.h |
|
| DistanceSource | EGizmoElementScaleDistanceSource | The amount is based on the distance to the reference point specified here. | EditorGizmos/GizmoElementScale.h |
|
| DistanceType | EGizmoElementScaleDistanceType | The direction of the scale (+/-) is based on the metric below. | EditorGizmos/GizmoElementScale.h |
|
| MinimumScale | TOptional< float > | Minimum scale value clamp. Prevents the scale from reaching zero or extremely small values. | EditorGizmos/GizmoElementScale.h |
|
| Multiplier | float | Overall multiplier applied to the computed scale delta. | EditorGizmos/GizmoElementScale.h |
|
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static EGizmoTransformScaleType GetDefaultScaleType() |
The default scale-type to use with the Gizmo. | EditorGizmos/GizmoElementScale.h |