Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
Contains Style/Visual properties common to all gizmo elements, ie. PixelHitDistanceThreshold.
| Name | FGizmoStyleBase |
| Type | struct |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/EditorGizmoElementShared.h |
| Include Path | #include "EditorGizmos/EditorGizmoElementShared.h" |
Syntax
USTRUCT (MinimalAPI)
struct FGizmoStyleBase
Derived Classes
FGizmoStyleBase derived class hierarchy
- FGizmoElementRotateArcballStyle
- FGizmoElementRotateAxisStyle
- FGizmoElementRotateStyle
- FGizmoElementScaleAxisStyle
- FGizmoElementScalePlanarStyle
- FGizmoElementScaleStyle
- FGizmoElementScaleUniformStyle
- FGizmoElementTranslateAxisStyle
- FGizmoElementTranslatePlanarStyle
- FGizmoElementTranslateStyle
- FGizmoElementTranslateUniformStyle
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DefaultColors | const FGizmoPerStateValueLinearColor | EditorGizmos/EditorGizmoElementShared.h | |
| DefaultHoverLineThicknessMultiplier | float | EditorGizmos/EditorGizmoElementShared.h | |
| DefaultLineColors | const FGizmoPerStateValueLinearColor | EditorGizmos/EditorGizmoElementShared.h | |
| DefaultLineMaterials | const FGizmoPerStateValueMaterialVariant | EditorGizmos/EditorGizmoElementShared.h | |
| DefaultLineThicknessMultiplier | float | EditorGizmos/EditorGizmoElementShared.h | |
| DefaultMaterials | const FGizmoPerStateValueMaterialVariant | Default values, required when applying one style to another - where they'll only override destination values that are Default. | EditorGizmos/EditorGizmoElementShared.h |
| DefaultMinimumPixelHitDistanceThreshold | float | EditorGizmos/EditorGizmoElementShared.h | |
| DefaultMinLineThickness | float | EditorGizmos/EditorGizmoElementShared.h | |
| DefaultPixelHitDistanceThreshold | float | EditorGizmos/EditorGizmoElementShared.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Colors | FGizmoPerStateValueLinearColor | EditorGizmos/EditorGizmoElementShared.h |
|
|
| HoverLineThicknessMultiplier | float | EditorGizmos/EditorGizmoElementShared.h | ||
| LineColors | FGizmoPerStateValueLinearColor | EditorGizmos/EditorGizmoElementShared.h |
|
|
| LineMaterials | FGizmoPerStateValueMaterialVariant | EditorGizmos/EditorGizmoElementShared.h | ||
| LineThicknessMultiplier | float | EditorGizmos/EditorGizmoElementShared.h | ||
| Materials | FGizmoPerStateValueMaterialVariant | EditorGizmos/EditorGizmoElementShared.h | ||
| MinimumPixelHitDistanceThreshold | float | Minimum pixel hit distance threshold. | EditorGizmos/EditorGizmoElementShared.h |
|
| MinLineThickness | float | Used to prevent sub-pixel line sizes. | EditorGizmos/EditorGizmoElementShared.h | |
| PixelHitDistanceThreshold | float | Pixel hit distance threshold - where the default is generally 7px. | EditorGizmos/EditorGizmoElementShared.h |
|
| SizeCoefficient | TOptional< float > | EditorGizmos/EditorGizmoElementShared.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ApplyTo
(
const FromType& InFrom, |
Applies values to the given Style, if those corresponding values are Defaults. | EditorGizmos/EditorGizmoElementShared.h |