Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Used to store per-state (double) values for gizmo elements. ie. line thickness multipliers.
| Name | FGizmoPerStateValueDouble |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementShared.h |
| Include Path | #include "BaseGizmos/GizmoElementShared.h" |
Syntax
USTRUCT (MinimalAPI, Meta=(DisplayName="Per-State Value (Double)"))
struct FGizmoPerStateValueDouble
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FValueType | double | BaseGizmos/GizmoElementShared.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ValueDefault | double | BaseGizmos/GizmoElementShared.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Default | TOptional< double > | Default value, used when the Interaction State is "None". | BaseGizmos/GizmoElementShared.h |
|
| Hover | TOptional< double > | Value used when hovering. | BaseGizmos/GizmoElementShared.h |
|
| Interact | TOptional< double > | Value used when interacting. | BaseGizmos/GizmoElementShared.h |
|
| Select | TOptional< double > | Value used when selected. | BaseGizmos/GizmoElementShared.h |
|
| Subdue | TOptional< double > | Value used when subdued. | BaseGizmos/GizmoElementShared.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double GetDefaultValue() |
Get the Default value if set, otherwise "ValueDefault" | BaseGizmos/GizmoElementShared.h | |
double GetHoverValue() |
Get the Hover value, or Default if not set. | BaseGizmos/GizmoElementShared.h | |
double GetInteractValue() |
Get the Interact value, or Default if not set. | BaseGizmos/GizmoElementShared.h | |
double GetSelectValue() |
Get the Select value, or Default if not set. | BaseGizmos/GizmoElementShared.h | |
double GetSubdueValue() |
Get the Subdue value, or Default if not set. | BaseGizmos/GizmoElementShared.h | |
double GetValueForState
(
const EGizmoElementInteractionState InState |
Get the value for the given Interaction State, or Default if not set. | BaseGizmos/GizmoElementShared.h |