Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
FToolContextOptionalToggle is used to store a boolean flag where the value of the boolean may either be set directly, or it may be set by querying some external context. This struct does not directly do anything, it just wraps up the multiple flags/states needed to provide such functionality
| Name | FToolContextOptionalToggle |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/CombinedTransformGizmo.h |
| Include Path | #include "BaseGizmos/CombinedTransformGizmo.h" |
Syntax
struct FToolContextOptionalToggle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| BaseGizmos/CombinedTransformGizmo.h | |||
FToolContextOptionalToggle
(
bool bEnabled, |
BaseGizmos/CombinedTransformGizmo.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnabledDirectly | bool | BaseGizmos/CombinedTransformGizmo.h | ||
| bEnabledInContext | bool | BaseGizmos/CombinedTransformGizmo.h | ||
| bInheritFromContext | bool | BaseGizmos/CombinedTransformGizmo.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool InheritFromContext() |
BaseGizmos/CombinedTransformGizmo.h | ||
bool IsEnabled() |
BaseGizmos/CombinedTransformGizmo.h | ||
void UpdateContextValue
(
bool bNewValue |
BaseGizmos/CombinedTransformGizmo.h |