Navigation
API > API/Editor > API/Editor/GameProjectGeneration
References
| Module | GameProjectGeneration |
| Header | /Engine/Source/Editor/GameProjectGeneration/Public/AddToProjectConfig.h |
| Include | #include "AddToProjectConfig.h" |
Syntax
struct FAddToProjectConfig
Remarks
Add to project dialog configuration structure
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< IClassViewerFilter > | _AllowableParents | Filter for allowable parent classes, when ParentClass is nullptr | |
| bool | _bModal | True to force a modal dialog, false otherwise | |
| FString | _DefaultClassName | Default name for the (blueprint) class, excluding class prefix | |
| FString | _DefaultClassPrefix | Default name prefix for the (blueprint) class | |
| TArray< FNewClassInfo > | _FeaturedClasses | Array of featured classes | |
| FString | _InitialPath | Initial file path for the (blueprint) class | |
| FOnAddedToProject | _OnAddedToProject | Delegate to invoke when the (blueprint) class has been added to the project | |
| const UClass * | _ParentClass | Forced parent class to use | |
| TSharedPtr< SWindow > | _ParentWindow | Parent window to use | |
| FText | _WindowTitle | The title to display on the window |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FAddToProjectConfig & | AllowableParents
(
const TSharedPtr< IClassViewerFilter >& In |
Limits the allowable parent classes by the specified filter. | |
| FAddToProjectConfig & | DefaultClassName
(
FString InDefaultClassName |
Optional argument that specifies the default name for the new class being added. | |
| FAddToProjectConfig & | DefaultClassPrefix
(
FString InDefaultClassPrefix |
Optional argument that specifies the prefix for the new class name. | |
| FAddToProjectConfig & | Set the add to project dialog to show component types on the initial 'featured' classes list | ||
| FAddToProjectConfig & | Set the add to project dialog to show component types on the initial 'featured' classes list | ||
| FAddToProjectConfig & | Set the add to project dialog to show component types on the initial 'featured' classes list | ||
| 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. | |
| FAddToProjectConfig & | Modal
(
bool bModal |
Make the window modal to force the user to make a decision before continuing. | |
| FAddToProjectConfig & | OnAddedToProject
(
const FOnAddedToProject& InDelegate |
Callback for when the object is successfully added to the project | |
| FAddToProjectConfig & | ParentClass
(
const UClass* InClass |
Force the add to project dialog to use the specified parent class. | |
| 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). | |
| FAddToProjectConfig & | WindowTitle
(
FText InText |
The title text to display on the window |