Navigation
API > API/Editor > API/Editor/GameProjectGeneration
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UTemplateProjectDefs
- UDefaultTemplateProjectDefs
References
| Module | GameProjectGeneration |
| Header | /Engine/Source/Editor/GameProjectGeneration/Classes/TemplateProjectDefs.h |
| Include | #include "TemplateProjectDefs.h" |
Syntax
class UTemplateProjectDefs : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | AssetTypes | ||
| bool | bAllowProjectCreation | Should we allow creation of a project from this template. | |
| bool | bIsBlank | Is this a blank template? Determines whether we can override the default map when creating the project. | |
| bool | bIsEnterprise | Is this an enterprise template? | |
| bool | bThumbnailAsIcon | Is there a rendered thumbnail that should be treated as the project template icon. | |
| TArray< FName > | Categories | ||
| FString | ClassTypes | ||
| EFeaturePackDetailLevel | EditDetailLevelPreference | What detail level to edit when editing shared template resources | |
| TArray< FTemplateReplacement > | FilenameReplacements | ||
| TArray< FString > | FilesToIgnore | ||
| TArray< FTemplateFolderRename > | FolderRenames | ||
| TArray< FString > | FoldersToIgnore | ||
| TArray< ETemplateSetting > | HiddenSettings | Optional list of settings to hide. If none are specified, then all settings are shown. | |
| TArray< FLocalizedTemplateString > | LocalizedDescriptions | ||
| TArray< FLocalizedTemplateString > | LocalizedDisplayNames | ||
| TArray< FString > | PacksToInclude | Optional list of feature packs to include | |
| TArray< FTemplateReplacement > | ReplacementsInFiles | ||
| TArray< FFeaturePackLevelSet > | SharedContentPacks | Shared feature packs. | |
| FString | SortKey | ||
| FString | StarterContent |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UTemplateProjectDefs
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddConfigValues
(
TArray< FTemplateConfigValue >& ConfigValuesToSet, |
Callback for adding config values | |
| void | FixupStrings
(
const FString& TemplateName, |
Fixes up all strings in this definitions object to replace %TEMPLATENAME% with the supplied template name and %PROJECTNAME% with the supplied project name | |
| bool | GeneratesCode
(
const FString& ProjectTemplatePath |
Does this template generate C++ source? | |
| FText | Returns the display name for the current culture, or English if the current culture has no translation | ||
| FText | Returns the display name for the current culture, or English if the current culture has no translation | ||
| bool | IsClassRename
(
const FString& DestFilename, |
Callback for each file rename, so class renames can be extracted | |
| bool | Callback after project generation is done, allowing for custom project generation behavior | ||
| bool | Callback before project generation is done, allowing for custom project generation behavior |