Navigation
API > API/Developer > API/Developer/ToolWidgets
Represents the state of a sidebar to be saved/restored to/from config.
| Name | FSidebarState |
| Type | struct |
| Header File | /Engine/Source/Developer/ToolWidgets/Public/Sidebar/SidebarState.h |
| Include Path | #include "Sidebar/SidebarState.h" |
Syntax
USTRUCT ()
struct FSidebarState
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AutoDockThresholdSize | float | Sidebar/SidebarState.h | |
| DefaultSize | float | Sidebar/SidebarState.h | |
| MaxSize | float | Sidebar/SidebarState.h | |
| MinSize | float | Sidebar/SidebarState.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FSidebarDrawerState * FindDrawerState
(
const FSidebarDrawerState& InDrawerState |
Sidebar/SidebarState.h | ||
FSidebarDrawerState & FindOrAddDrawerState
(
const FSidebarDrawerState& InDrawerState |
Sidebar/SidebarState.h | ||
float GetDrawerSize() |
Sidebar/SidebarState.h | ||
void GetDrawerSizes
(
float& OutDrawerSize, |
Sidebar/SidebarState.h | ||
const TArray< FSidebarDrawerState > & GetDrawerStates() |
Sidebar/SidebarState.h | ||
bool IsHidden() |
Sidebar/SidebarState.h | ||
bool IsValid() |
Sidebar/SidebarState.h | ||
bool IsVisible() |
Sidebar/SidebarState.h | ||
void SaveDrawerState
(
const FSidebarDrawerState& InState |
Saves the state of a drawer. If the drawers state already exists in config, it will be replaced. | Sidebar/SidebarState.h | |
void SetDrawerSize
(
const float InSize |
Sidebar/SidebarState.h | ||
void SetDrawerSizes
(
const float InDrawerSize, |
Sidebar/SidebarState.h | ||
void SetHidden
(
const bool bInHidden |
Sidebar/SidebarState.h | ||
void SetVisible
(
const bool bInVisible |
Sidebar/SidebarState.h |