UTrueTypeFontFactory

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Factories/TrueTypeFontFactory.h

Include

#include "Factories/TrueTypeFontFactory.h"

Syntax

class UTrueTypeFontFactory :
    public UTextureFactory,
    public FReimportHandler

Variables

Name Description

Public variable

bool

 

bFontSelected

True if a font was selected during the non-legacy creation process

Public variable

bool

 

bPropertiesConfigured

True when the font dialog was shown for this factory during the non-legacy creation process

Public variable

UFontImportOpti...

 

ImportOptions

Import options for this font

Constructors

Name Description

Public function

UTrueTypeFontFactory

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

SetupFontImportOptions()

Creates the import options structure for this font

Overridden from UFactory

Name Description

Public function Virtual

bool

 

ConfigureProperties()

Opens a dialog to configure the factory properties.

Public function Virtual

UObject *...

 

FactoryCreateNew

(
    UClass* InClass,
    UObject* InParent,
    FName InName,
    EObjectFlags Flags,
    UObject* Context,
    FFeedbackContext* Warn
)

Create a new object by class.

Public function Virtual Const

bool

 

ShouldShowInNewMenu()

Returns true if this factory should be shown in the New Asset menu (by default calls CanCreateNew).

Overridden from UObject

Name Description

Public function Virtual

void

 

PostInitProperties()

Called after the C++ constructor and after the properties have been initialized, including those loaded from config.

Overridden from FReimportHandler

Name Description

Public function Virtual

bool

 

CanReimport

(
    UObject* Obj,
    TArray< FString >& OutFilenames
)

Check to see if the handler is capable of reimporting the object

Public function Virtual Const

int32

 

GetPriority()

Get the import priority for this handler.

Public function Virtual

EReimportRes...

 

Reimport

(
    UObject* Obj
)

Attempt to reimport the specified object from its source

Public function Virtual

void

 

SetReimportPaths

(
    UObject* Obj,
    const TArray< FString >& NewReimpo...
)

Sets the reimport path(s) for the specified object

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