FAddToProjectConfig

Add to project dialog configuration structure

Windows
MacOS
Linux

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

Name Description

Public variable

TSharedPtr< ICl...

 

_AllowableParents

Filter for allowable parent classes, when ParentClass is nullptr

Public variable

bool

 

_bModal

True to force a modal dialog, false otherwise

Public variable

FString

 

_DefaultClassName

Default name for the (blueprint) class, excluding class prefix

Public variable

FString

 

_DefaultClassPrefix

Default name prefix for the (blueprint) class

Public variable

TArray< FNewCla...

 

_FeaturedClasses

Array of featured classes

Public variable

FString

 

_InitialPath

Initial file path for the (blueprint) class

Public variable

FOnAddedToProje...

 

_OnAddedToProject

Delegate to invoke when the (blueprint) class has been added to the project

Public variable

const UClass &#...

 

_ParentClass

Forced parent class to use

Public variable

TSharedPtr< SWi...

 

_ParentWindow

Parent window to use

Public variable

FText

 

_WindowTitle

The title to display on the window

Constructors

Name Description

Public function

FAddToProjectConfig()

Functions

Name Description

Public function

FAddToProjec...

 

AllowableParents

(
    const TSharedPtr< IClassViewerFilte...
)

Limits the allowable parent classes by the specified filter.

Public function

FAddToProjec...

 

DefaultClassName

(
    FString InDefaultClassName
)

Optional argument that specifies the default name for the new class being added.

Public function

FAddToProjec...

 

DefaultClassPrefix

(
    FString InDefaultClassPrefix
)

Optional argument that specifies the prefix for the new class name.

Public function

FAddToProjec...

 

FeatureActorClasses()

Set the add to project dialog to show component types on the initial 'featured' classes list

Public function

FAddToProjec...

 

FeatureAllNativeClasses()

Set the add to project dialog to show component types on the initial 'featured' classes list

Public function

FAddToProjec...

 

FeatureComponentClasses()

Set the add to project dialog to show component types on the initial 'featured' classes list

Public function

FAddToProjec...

 

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.

Public function

FAddToProjec...

 

Modal

(
    bool bModal
)

Make the window modal to force the user to make a decision before continuing.

Public function

FAddToProjec...

 

OnAddedToProject

(
    const FOnAddedToProject& InDelegat...
)

Callback for when the object is successfully added to the project

Public function

FAddToProjec...

 

ParentClass

(
    const UClass* InClass
)

Force the add to project dialog to use the specified parent class.

Public function

FAddToProjec...

 

ParentWindow

(
    const TSharedPtr< SWindow >& InPar...
)

The parent window the dialog should use, or null to choose a suitable default parent window (the main frame, if available).

Public function

FAddToProjec...

 

WindowTitle

(
    FText InText
)

The title text to display on the window

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