UClassTemplate

Unreal Engine C++ API Reference > Editor > GameProjectGeneration

Inheritance Hierarchy

References

   
Module GameProjectGeneration
Header /Engine/Source/Editor/GameProjectGeneration/Public/ClassTemplateEditorSubsystem.h
Include #include "ClassTemplateEditorSubsystem.h"

Syntax

class UClassTemplate : public [UObject](API\Runtime\CoreUObject\UObject\UObject)  

Functions

Type Name Description
FString GetDirectory () Returns the directory containing the text file template for the given base generated class.
FString GetFilename () Returns the filename associated with the provided class template without an extension.
const UClass... GetGeneratedBaseClass ()  
FString GetHeaderFilename () Returns full header filename including '.h.template' extension.
FString GetSourceFilename () Returns full sourcefilename including '.cpp.template' extension.
bool ReadHeader ( FString& OutHeaderFileText, FText& OutFailReason ) Reads the header template text from disk.
bool ReadSource ( FString& OutSourceFileText, FText& OutFailReason ) Reads the source template text from disk.
void SetGeneratedBaseClass ( UClass* InClass ) Sets the generated base class associated with the given template.

Overridden from UObject

Type Name Description
void BeginDestroy () Called before destroying the object.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library