Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
Visual style parameters for a single scale axis element (cylinder body + arrow head handle + delta visuals).
| Name | FGizmoElementScaleAxisStyle |
| Type | struct |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/GizmoElementScale.h |
| Include Path | #include "EditorGizmos/GizmoElementScale.h" |
Syntax
USTRUCT (MinimalAPI)
struct FGizmoElementScaleAxisStyle : public FGizmoStyleBase
Inheritance Hierarchy
- FGizmoStyleBase → FGizmoElementScaleAxisStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGizmoElementScaleAxisStyle() |
EditorGizmos/GizmoElementScale.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AxisLength | float | Length of the axis body in world units (before multiplier). | EditorGizmos/GizmoElementScale.h |
|
| AxisLengthMultiplier | float | Multiplier applied to AxisLength, typically driven by a user setting. | EditorGizmos/GizmoElementScale.h | |
| AxisOffsetFromCenter | float | Gap between the gizmo origin and the start of the axis body, in world units. | EditorGizmos/GizmoElementScale.h |
|
| DeltaLineDashGapSpacing | float | Length of each gap between dashes in the delta line, in world units. | EditorGizmos/GizmoElementScale.h |
|
| DeltaLineDashSpacing | float | Length of each dash segment in the delta line, in world units. | EditorGizmos/GizmoElementScale.h |
|
| DeltaLineThickness | TOptional< float > | Optional override for the delta line thickness. Falls back to LineThickness if not set. | EditorGizmos/GizmoElementScale.h |
|
| DeltaOffsetTextPrefix | TOptional< FText > | Overrides the default prefix text for offset-based scale labels, if set. | EditorGizmos/GizmoElementScale.h |
|
| DeltaOffsetTextSuffix | TOptional< FText > | Overrides the default suffix text for offset-based scale labels, if set. | EditorGizmos/GizmoElementScale.h |
|
| DeltaPercentageTextPrefix | TOptional< FText > | Overrides the default prefix text for percentage-based scale labels, if set. | EditorGizmos/GizmoElementScale.h |
|
| DeltaPercentageTextSuffix | TOptional< FText > | Overrides the default suffix text for percentage-based scale labels, if set. | EditorGizmos/GizmoElementScale.h |
|
| DeltaTextBackgroundColor | FLinearColor | Background color/alpha of the text box. | EditorGizmos/GizmoElementScale.h |
|
| HandleSizeMultiplier | float | Multiplier for the arrow head size, typically driven by a user setting. | EditorGizmos/GizmoElementScale.h | |
| HeadSize | float | Size of the cube arrow head at the end of the axis, in world units. | EditorGizmos/GizmoElementScale.h |
|
| LineThickness | float | Thickness of the axis line in world units. | EditorGizmos/GizmoElementScale.h |
|
| NumSegments | int32 | Number of segments used when generating cylindrical geometry (axis body, etc.). | EditorGizmos/GizmoElementScale.h | |
| ShowFlags | EGizmoElementScaleShowFlags | Controls which delta visual elements are shown during interaction. | EditorGizmos/GizmoElementScale.h |
|
| UniformColors | FGizmoPerStateValueLinearColor | Per-state colors for the uniform (center) scale handle. | EditorGizmos/GizmoElementScale.h |
|
| UniformSize | float | Size of the uniform (center) scale handle, in world units. | EditorGizmos/GizmoElementScale.h |
|
| VertexColorMaterial | TObjectPtr< UMaterialInterface > | Material used for vertex-color-based rendering of axis elements. | EditorGizmos/GizmoElementScale.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FText & GetDeltaTextPrefixForScaleType
(
const EGizmoTransformScaleType InScaleType |
Gets the overridden prefix, or the default if not overriden. | EditorGizmos/GizmoElementScale.h | |
const FText & GetDeltaTextSuffixForScaleType
(
const EGizmoTransformScaleType InScaleType |
Gets the overridden suffix, or the default if not overriden. | EditorGizmos/GizmoElementScale.h |