Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Used to store per-state (Linear Color) values for gizmo elements. ie. vertex color.
| Name | FGizmoPerStateValueLinearColor |
| 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 (LinearColor)"))
struct FGizmoPerStateValueLinearColor
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FValueType | FLinearColor | BaseGizmos/GizmoElementShared.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Default | TOptional< FLinearColor > | Default value, used when the Interaction State is "None". | BaseGizmos/GizmoElementShared.h |
|
| Hover | TOptional< FLinearColor > | Value used when hovering. | BaseGizmos/GizmoElementShared.h |
|
| Interact | TOptional< FLinearColor > | Value used when interacting. | BaseGizmos/GizmoElementShared.h |
|
| Select | TOptional< FLinearColor > | Value used when selected. | BaseGizmos/GizmoElementShared.h |
|
| Subdue | TOptional< FLinearColor > | Value used when subdued. | BaseGizmos/GizmoElementShared.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FLinearColor & GetDefaultValue() |
Get the Default value if set, otherwise FLinearColor::Transparent. | BaseGizmos/GizmoElementShared.h | |
const FLinearColor & GetHoverValue() |
Get the Hover value, or Default if not set. | BaseGizmos/GizmoElementShared.h | |
const FLinearColor & GetInteractValue() |
Get the Interact value, or Default if not set. | BaseGizmos/GizmoElementShared.h | |
const FLinearColor & GetSelectValue() |
Get the Select value, or Default if not set. | BaseGizmos/GizmoElementShared.h | |
const FLinearColor & GetSubdueValue() |
Get the Subdue value, or Default if not set. | BaseGizmos/GizmoElementShared.h | |
const FLinearColor & GetValueForState
(
const EGizmoElementInteractionState InState |
Get the value for the given Interaction State, or Default if not set. | BaseGizmos/GizmoElementShared.h |