FStructViewerInitializationOptions

Settings for the Struct Viewer set by the programmer before spawning an instance of the widget.

Windows
MacOS
Linux

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

Name Description

Public variable

bool

 

bAllowViewOptions

True (the default) shows the view options at the bottom of the struct picker.

Public variable

bool

 

bEnableStructDynamicLoading

True allows struct dynamic loading on selection

Public variable

bool

 

bExpandRootNodes

If true, root nodes will be expanded by default.

Public variable

bool

 

bShowBackgroundBorder

True (the default) shows a background border behind the struct viewer widget.

Public variable

bool

 

bShowNoneOption

Shows a "None" option, only available in Picker mode.

Public variable

bool

 

bShowUnloadedStructs

Shows unloaded structs. Will not be filtered out based on non-bool filter options.

Public variable

EStructViewerDi...

 

DisplayMode

Mode to display the structs using.

Public variable

TArray< const U...

 

ExtraPickerCommonStructs

Defines additional structs you want listed in the "Common Structs" section for the picker.

Public variable

EStructViewerMo...

 

Mode

Mode to operate in

Public variable

EStructViewerNa...

 

NameTypeToDisplay

Controls what name is shown for structs

Public variable

TSharedPtr< cla...

 

PropertyHandle

The property this struct viewer be working on.

Public variable

TSharedPtr< cla...

 

StructFilter

The filter to use on structs in this instance.

Public variable

FText

 

ViewerTitleString

The title string of the struct viewer if required.

Constructors

Name Description

Public function

FStructViewerInitializationOptions()

Constructor

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss