Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
Contains all styling properties for TransformGizmo.
| Name | FTransformGizmoStyle |
| Type | struct |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/TransformGizmo.h |
| Include Path | #include "EditorGizmos/TransformGizmo.h" |
Syntax
USTRUCT (MinimalAPI)
struct FTransformGizmoStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| EditorGizmos/TransformGizmo.h | |||
FTransformGizmoStyle
(
const FTransformGizmoStyle& |
EditorGizmos/TransformGizmo.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AxisColorX | FLinearColor | EditorGizmos/TransformGizmo.h | |
| AxisColorY | FLinearColor | EditorGizmos/TransformGizmo.h | |
| AxisColorZ | FLinearColor | EditorGizmos/TransformGizmo.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AxisSizeMultiplier | float | Applies to axis lengths and radii. | EditorGizmos/TransformGizmo.h |
|
| bUsePlatformCursorSize | bool | Synchronizes the cursor size to that specified for the platform/OS. If false, CursorSize is used. | EditorGizmos/TransformGizmo.h |
|
| bUseShading | bool | Whether to show shading on the gizmo, or unlit (if false). | EditorGizmos/TransformGizmo.h |
|
| CurrentColor | FLinearColor | The current color to use. | EditorGizmos/TransformGizmo.h |
|
| CursorSize | float | Defines the size of the custom cursor. | EditorGizmos/TransformGizmo.h |
|
| DeltaTextBackgroundColor | FLinearColor | Represents the background color for text labels. | EditorGizmos/TransformGizmo.h |
|
| GreyColor | FLinearColor | EditorGizmos/TransformGizmo.h |
|
|
| HandleSizeMultiplier | float | Applies to arrow heads, planar and uniform handles. | EditorGizmos/TransformGizmo.h |
|
| HoverColor | FLinearColor | The color to use on hover. | EditorGizmos/TransformGizmo.h |
|
| HoverLineThicknessMultiplier | float | EditorGizmos/TransformGizmo.h |
|
|
| InteractColor | FLinearColor | The color to use on interact. | EditorGizmos/TransformGizmo.h |
|
| LineThicknessMultiplier | float | EditorGizmos/TransformGizmo.h |
|
|
| MinimumPixelHitDistanceThreshold | float | Minimum pixel hit distance threshold. | EditorGizmos/TransformGizmo.h |
|
| MinLineThickness | float | Used to prevent sub-pixel line sizes. | EditorGizmos/TransformGizmo.h |
|
| PixelHitDistanceThreshold | float | Pixel hit distance threshold - where the default is generally 7px. | EditorGizmos/TransformGizmo.h |
|
| PlanarAxisOffsetFromOrigin | float | Applies to both translate and scale planar handles. | EditorGizmos/TransformGizmo.h |
|
| RotateStyle | FGizmoElementRotateStyle | EditorGizmos/TransformGizmo.h |
|
|
| ScaleStyle | FGizmoElementScaleStyle | EditorGizmos/TransformGizmo.h |
|
|
| SelectColor | FLinearColor | The color to use on select. | EditorGizmos/TransformGizmo.h |
|
| ShadingAmbient | float | EditorGizmos/TransformGizmo.h |
|
|
| ShadingSpecularGlossiness | float | EditorGizmos/TransformGizmo.h |
|
|
| ShowFlags | uint32 | Sets the fixed visibility of various elements. | EditorGizmos/TransformGizmo.h |
|
| SubdueColor | FLinearColor | The color to use on subdue. Depending on the effect, we may only use the alpha value. | EditorGizmos/TransformGizmo.h |
|
| TranslateStyle | FGizmoElementTranslateStyle | EditorGizmos/TransformGizmo.h |
|
|
| WhiteColor | FLinearColor | EditorGizmos/TransformGizmo.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetModifiedAxisSizeMultiplier
(
const TOptional< TUniqueFunction< float(const float)> >& InModifierOverride |
Gets the AxisSizeMultiplier, modified by project/editor level settings, etc., or the given Modifier if specified. | EditorGizmos/TransformGizmo.h | |
void MakeValid() |
Clamps and otherwise corrects values within the style. | EditorGizmos/TransformGizmo.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTransformGizmoStyle & operator=
(
const FTransformGizmoStyle& |
EditorGizmos/TransformGizmo.h |