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