FAddToProjectConfig

Add to project dialog configuration structure

Unreal Engine C++ API Reference > 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< ICl... _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< FNewCla... _FeaturedClasses Array of featured classes
FString _InitialPath Initial file path for the (blueprint) class
FOnAddedToProje... _OnAddedToProject Delegate to invoke when the (blueprint) class has been added to the project
const UClass &#... _ParentClass Forced parent class to use
TSharedPtr< SWi... _ParentWindow Parent window to use
FText _WindowTitle The title to display on the window

Constructors

Type Name Description
  FAddToProjectConfig ()  

Functions

Type Name Description
FAddToProjec... AllowableParents ( const TSharedPtr< IClassViewerFilte... ) Limits the allowable parent classes by the specified filter.
FAddToProjec... DefaultClassName ( FString InDefaultClassName ) Optional argument that specifies the default name for the new class being added.
FAddToProjec... DefaultClassPrefix ( FString InDefaultClassPrefix ) Optional argument that specifies the prefix for the new class name.
FAddToProjec... FeatureActorClasses () Set the add to project dialog to show component types on the initial 'featured' classes list
FAddToProjec... FeatureAllNativeClasses () Set the add to project dialog to show component types on the initial 'featured' classes list
FAddToProjec... FeatureComponentClasses () Set the add to project dialog to show component types on the initial 'featured' classes list
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.
FAddToProjec... Modal ( bool bModal ) Make the window modal to force the user to make a decision before continuing.
FAddToProjec... OnAddedToProject ( const FOnAddedToProject& InDelegat... ) Callback for when the object is successfully added to the project
FAddToProjec... ParentClass ( const UClass* InClass ) Force the add to project dialog to use the specified parent class.
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).
FAddToProjec... WindowTitle ( FText InText ) The title text to display on the window

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library