Navigation
API > API/Editor > API/Editor/ClassViewer
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.
| Name | FClassViewerInitializationOptions |
| Type | class |
| Header File | /Engine/Source/Editor/ClassViewer/Public/ClassViewerModule.h |
| Include Path | #include "ClassViewerModule.h" |
Syntax
class FClassViewerInitializationOptions
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FClassViewerInitializationOptions() |
Constructor | ClassViewerModule.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AdditionalReferencingAssets | TArray< FAssetData > | The passed in property handle will be used to gather referencing assets. | ClassViewerModule.h | |
| bAllowViewOptions | bool | True (the default) shows the view options at the bottom of the class picker | ClassViewerModule.h | |
| bEditorClassesOnly | bool | False by default, restricts the class picker to only showing editor module classes | ClassViewerModule.h | |
| bEnableClassDynamicLoading | bool | True allows class dynamic loading on selection | ClassViewerModule.h | |
| bExpandAllNodes | bool | If true, all nodes will be expanded by default. | ClassViewerModule.h | |
| bExpandRootNodes | bool | If true, root nodes will be expanded by default. | ClassViewerModule.h | |
| bIsActorsOnly | bool | Filters so only actors will be displayed. | ClassViewerModule.h | |
| bIsBlueprintBaseOnly | bool | Filters so only base blueprints will be displayed. | ClassViewerModule.h | |
| bIsPlaceableOnly | bool | Filters so only placeable actors will be displayed. Forces bIsActorsOnly to true. | ClassViewerModule.h | |
| bShowBackgroundBorder | bool | True (the default) shows a background border behind the class viewer widget. | ClassViewerModule.h | |
| bShowClassesViewer | bool | (true) Will show the classes viewer. | ClassViewerModule.h | |
| bShowDefaultClasses | bool | (true) Will show the default classes if they exist. | ClassViewerModule.h | |
| bShowNoneOption | bool | Shows a "None" option, only available in Picker mode. | ClassViewerModule.h | |
| bShowObjectRootClass | bool | True will show the UObject root class. | ClassViewerModule.h | |
| bShowUnloadedBlueprints | bool | Shows unloaded blueprints. Will not be filtered out based on non-bool filter options. | ClassViewerModule.h | |
| ClassFilter | TSharedPtr< IClassViewerFilter > | [Deprecated] The filter to use on classes in this instance. | ClassViewerModule.h | |
| ClassFilters | TArray< TSharedRef< IClassViewerFilter > > | The filter(s) to use on classes in this instance. | ClassViewerModule.h | |
| ClassViewerSortPredicate | TFunction< bool(const FClassViewerSortElementInfo &, const FClassViewerSortElementInfo &)> | Predicate used to sort the class list | ClassViewerModule.h | |
| DisplayMode | EClassViewerDisplayMode::Type | Mode to display the classes using. | ClassViewerModule.h | |
| ExtraPickerCommonClasses | TArray< UClass * > | Defines additional classes you want listed in the "Common Classes" section for the picker. | ClassViewerModule.h | |
| InitiallySelectedClass | UClass * | Will set the initially selected row, if possible, to this class when the viewer is created | ClassViewerModule.h | |
| Mode | EClassViewerMode::Type | Mode to operate in | ClassViewerModule.h | |
| NameTypeToDisplay | EClassViewerNameTypeToDisplay | Controls what name is shown for classes | ClassViewerModule.h | |
| PropertyHandle | TSharedPtr< IPropertyHandle > | The property this class viewer be working on. | ClassViewerModule.h | |
| ViewerTitleString | FText | The title string of the class viewer if required. | ClassViewerModule.h |