Navigation
API > API/Editor > API/Editor/GameProjectGeneration
Add to project dialog configuration structure
| Name | FAddToProjectConfig |
| Type | struct |
| Header File | /Engine/Source/Editor/GameProjectGeneration/Public/AddToProjectConfig.h |
| Include Path | #include "AddToProjectConfig.h" |
Syntax
struct FAddToProjectConfig
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAddToProjectConfig() |
AddToProjectConfig.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _AllowableParents | TSharedPtr< IClassViewerFilter > | Filter for allowable parent classes, when ParentClass is nullptr | AddToProjectConfig.h | |
| _bModal | bool | True to force a modal dialog, false otherwise | AddToProjectConfig.h | |
| _DefaultClassName | FString | Default name for the (blueprint) class, excluding class prefix | AddToProjectConfig.h | |
| _DefaultClassPrefix | FString | Default name prefix for the (blueprint) class | AddToProjectConfig.h | |
| _FeaturedClasses | TArray< FNewClassInfo > | Array of featured classes | AddToProjectConfig.h | |
| _InitialPath | FString | Initial file path for the (blueprint) class | AddToProjectConfig.h | |
| _OnAddedToProject | FOnAddedToProject | Delegate to invoke when the (blueprint) class has been added to the project | AddToProjectConfig.h | |
| _ParentClass | const UClass * | Forced parent class to use | AddToProjectConfig.h | |
| _ParentWindow | TSharedPtr< SWindow > | Parent window to use | AddToProjectConfig.h | |
| _SyncContentBrowserToNewClass | bool | Whether the content browser will be synced to view the newly created class | AddToProjectConfig.h | |
| _WindowTitle | FText | The title to display on the window | AddToProjectConfig.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAddToProjectConfig & AllowableParents
(
const TSharedPtr< IClassViewerFilter >& In |
Limits the allowable parent classes by the specified filter. | AddToProjectConfig.h | |
FAddToProjectConfig & DefaultClassName
(
FString InDefaultClassName |
Optional argument that specifies the default name for the new class being added. | AddToProjectConfig.h | |
FAddToProjectConfig & DefaultClassPrefix
(
FString InDefaultClassPrefix |
Optional argument that specifies the prefix for the new class name. | AddToProjectConfig.h | |
FAddToProjectConfig & FeatureActorClasses() |
Set the add to project dialog to show component types on the initial 'featured' classes list | AddToProjectConfig.h | |
FAddToProjectConfig & FeatureAllNativeClasses() |
Set the add to project dialog to show component types on the initial 'featured' classes list | AddToProjectConfig.h | |
FAddToProjectConfig & FeatureComponentClasses() |
Set the add to project dialog to show component types on the initial 'featured' classes list | AddToProjectConfig.h | |
FAddToProjectConfig & InitialPath
(
FString InInitialPath |
The initial path we should use as the destination for the new file, or an empty string to choose a suitable default based upon the module path. | AddToProjectConfig.h | |
FAddToProjectConfig & Modal
(
bool bModal |
Make the window modal to force the user to make a decision before continuing. | AddToProjectConfig.h | |
FAddToProjectConfig & OnAddedToProject
(
const FOnAddedToProject& InDelegate |
Callback for when the object is successfully added to the project | AddToProjectConfig.h | |
FAddToProjectConfig & ParentClass
(
const UClass* InClass |
Force the add to project dialog to use the specified parent class. | AddToProjectConfig.h | |
FAddToProjectConfig & ParentWindow
(
const TSharedPtr< SWindow >& InParentWindow |
The parent window the dialog should use, or null to choose a suitable default parent window (the main frame, if available). | AddToProjectConfig.h | |
FAddToProjectConfig & SyncContentBrowserToNewClass
(
bool bInSyncContentBrowser |
Set whether the content browser will be synced to view the newly created class | AddToProjectConfig.h | |
FAddToProjectConfig & WindowTitle
(
FText InText |
The title text to display on the window | AddToProjectConfig.h |