Navigation
API > API/Editor > API/Editor/StructViewer
Settings for the Struct Viewer set by the programmer before spawning an instance of the widget. This is used to modify the struct viewer's behavior in various ways, such as filtering in or out specific structs.
| Name | FStructViewerInitializationOptions |
| Type | class |
| Header File | /Engine/Source/Editor/StructViewer/Public/StructViewerModule.h |
| Include Path | #include "StructViewerModule.h" |
Syntax
class FStructViewerInitializationOptions
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStructViewerInitializationOptions() |
Constructor | StructViewerModule.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowViewOptions | bool | True (the default) shows the view options at the bottom of the struct picker. | StructViewerModule.h | |
| bEnableStructDynamicLoading | bool | True allows struct dynamic loading on selection | StructViewerModule.h | |
| bExpandRootNodes | bool | If true, root nodes will be expanded by default. | StructViewerModule.h | |
| bShowBackgroundBorder | bool | True (the default) shows a background border behind the struct viewer widget. | StructViewerModule.h | |
| bShowNoneOption | bool | Shows a "None" option, only available in Picker mode. | StructViewerModule.h | |
| bShowUnloadedStructs | bool | Shows unloaded structs. Will not be filtered out based on non-bool filter options. | StructViewerModule.h | |
| DisplayMode | EStructViewerDisplayMode | Mode to display the structs using. | StructViewerModule.h | |
| ExtraPickerCommonStructs | TArray< const UScriptStruct * > | Defines additional structs you want listed in the "Common Structs" section for the picker. | StructViewerModule.h | |
| Mode | EStructViewerMode | Mode to operate in | StructViewerModule.h | |
| NameTypeToDisplay | EStructViewerNameTypeToDisplay | Controls what name is shown for structs | StructViewerModule.h | |
| PropertyHandle | TSharedPtr< class IPropertyHandle > | The property this struct viewer be working on. | StructViewerModule.h | |
| SelectedStruct | const UScriptStruct * | Defined currently selected struct to scroll to to when struct picker is opened. | StructViewerModule.h | |
| StructFilter | TSharedPtr< class IStructViewerFilter > | The filter to use on structs in this instance. | StructViewerModule.h | |
| ViewerTitleString | FText | The title string of the struct viewer if required. | StructViewerModule.h |