Navigation
API > API/Editor > API/Editor/EditorInteractiveToolsFramework
Used to store per-state (GizmoMaterialVariant) values for gizmo elements. ie. vertex color.
| Name | FGizmoPerStateValueMaterialVariant |
| Type | struct |
| Header File | /Engine/Source/Editor/Experimental/EditorInteractiveToolsFramework/Public/EditorGizmos/EditorGizmoElementShared.h |
| Include Path | #include "EditorGizmos/EditorGizmoElementShared.h" |
Syntax
USTRUCT (MinimalAPI, Meta=(DisplayName="Per-State Value (GizmoMaterialVariant)"))
struct FGizmoPerStateValueMaterialVariant
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FValueType | FGizmoMaterialVariant | EditorGizmos/EditorGizmoElementShared.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Default | TOptional< FGizmoMaterialVariant > | Default value, used when the Interaction State is "None". | EditorGizmos/EditorGizmoElementShared.h |
|
| Hover | TOptional< FGizmoMaterialVariant > | Value used when hovering. | EditorGizmos/EditorGizmoElementShared.h |
|
| Interact | TOptional< FGizmoMaterialVariant > | Value used when interacting. | EditorGizmos/EditorGizmoElementShared.h |
|
| Select | TOptional< FGizmoMaterialVariant > | Value used when selected. | EditorGizmos/EditorGizmoElementShared.h |
|
| Subdue | TOptional< FGizmoMaterialVariant > | Value used when subdued. | EditorGizmos/EditorGizmoElementShared.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FGizmoMaterialVariant & GetDefaultValue() |
Get the Default value if set, otherwise FLinearColor::Transparent. | EditorGizmos/EditorGizmoElementShared.h | |
const FGizmoMaterialVariant & GetHoverValue() |
Get the Hover value, or Default if not set. | EditorGizmos/EditorGizmoElementShared.h | |
const FGizmoMaterialVariant & GetInteractValue() |
Get the Interact value, or Default if not set. | EditorGizmos/EditorGizmoElementShared.h | |
const FGizmoMaterialVariant & GetSelectValue() |
Get the Select value, or Default if not set. | EditorGizmos/EditorGizmoElementShared.h | |
const FGizmoMaterialVariant & GetSubdueValue() |
Get the Subdue value, or Default if not set. | EditorGizmos/EditorGizmoElementShared.h | |
const FGizmoMaterialVariant & GetValueForState
(
const EGizmoElementInteractionState InState |
Get the value for the given Interaction State, or Default if not set. | EditorGizmos/EditorGizmoElementShared.h |