FClassViewerInitializationOptions

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

Unreal Engine C++ API Reference > Editor > ClassViewer

References

   
Module ClassViewer
Header /Engine/Source/Editor/ClassViewer/Public/ClassViewerModule.h
Include #include "ClassViewerModule.h"

Syntax

class FClassViewerInitializationOptions  

Remarks

Settings for the Class Viewer set by the programmer before spawning an instance of the widget. This is used to modify the class viewer's behavior in various ways, such as filtering in or out specific classes.

Variables

Type Name Description
TArray< FAssetD... AdditionalReferencingAssets The passed in property handle will be used to gather referencing assets.
bool bAllowViewOptions True (the default) shows the view options at the bottom of the class picker
bool bEditorClassesOnly False by default, restricts the class picker to only showing editor module classes
bool bEnableClassDynamicLoading True allows class dynamic loading on selection
bool bExpandAllNodes If true, all nodes will be expanded by default.
bool bExpandRootNodes If true, root nodes will be expanded by default.
bool bIsActorsOnly Filters so only actors will be displayed.
bool bIsBlueprintBaseOnly Filters so only base blueprints will be displayed.
bool bIsPlaceableOnly Filters so only placeable actors will be displayed. Forces bIsActorsOnly to true.
bool bShowBackgroundBorder True (the default) shows a background border behind the class viewer widget.
bool bShowClassesViewer (true) Will show the classes viewer.
bool bShowDefaultClasses (true) Will show the default classes if they exist.
bool bShowNoneOption Shows a "None" option, only available in Picker mode.
bool bShowObjectRootClass True will show the UObject root class.
bool bShowUnloadedBlueprints Shows unloaded blueprints. Will not be filtered out based on non-bool filter options.
TArray< TShared... ClassFilters The filter(s) to use on classes in this instance.
EClassViewerDis... DisplayMode Mode to display the classes using.
TArray< UClass ... ExtraPickerCommonClasses Defines additional classes you want listed in the "Common Classes" section for the picker.
UClass * InitiallySelectedClass Will set the initially selected row, if possible, to this class when the viewer is created
EClassViewerMod... Mode Mode to operate in
EClassViewerNam... NameTypeToDisplay Controls what name is shown for classes
TSharedPtr< IPr... PropertyHandle The property this class viewer be working on.
FText ViewerTitleString The title string of the class viewer if required.

Constructors

Type Name Description
  FClassViewerInitializationOptions () Constructor

Deprecated Variables

Type Name Description
TSharedPtr< ICl... ClassFilter Please add to the ClassFilters array member instead.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library