Navigation
Unreal Engine C++ API Reference > Editor > StructViewer
References
Module | StructViewer |
Header | /Engine/Source/Editor/StructViewer/Public/StructViewerModule.h |
Include | #include "StructViewerModule.h" |
Syntax
class FStructViewerInitializationOptions
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bAllowViewOptions | True (the default) shows the view options at the bottom of the struct picker. |
![]() |
bool | bEnableStructDynamicLoading | True allows struct dynamic loading on selection |
![]() |
bool | bExpandRootNodes | If true, root nodes will be expanded by default. |
![]() |
bool | bShowBackgroundBorder | True (the default) shows a background border behind the struct viewer widget. |
![]() |
bool | bShowNoneOption | Shows a "None" option, only available in Picker mode. |
![]() |
bool | bShowUnloadedStructs | Shows unloaded structs. Will not be filtered out based on non-bool filter options. |
![]() |
EStructViewerDisplayMode | DisplayMode | Mode to display the structs using. |
![]() |
TArray< const UScriptStruct * > | ExtraPickerCommonStructs | Defines additional structs you want listed in the "Common Structs" section for the picker. |
![]() |
EStructViewerMode | Mode | Mode to operate in |
![]() |
EStructViewerNameTypeToDisplay | NameTypeToDisplay | Controls what name is shown for structs |
![]() |
TSharedPtr< class IPropertyHandle > | PropertyHandle | The property this struct viewer be working on. |
![]() |
TSharedPtr< class IStructViewerFilter > | StructFilter | The filter to use on structs in this instance. |
![]() |
FText | ViewerTitleString | The title string of the struct viewer if required. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Constructor |