G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
UFontFace Class Reference

A font face asset contains the raw payload data for a source TTF/OTF file as used by FreeType. During cook this asset type generates a ".ufont" file containing the raw payload data (unless loaded "Inline"). More...

Static Public Member Functions

Static Functions
static UClass StaticClass ()
Static Public Member Functions inherited from UObject
static UClass StaticClass ()

Public Attributes

FontFace
EFontHinting Hinting
 The hinting algorithm to use with the font face.
EFontLoadingPolicy LoadingPolicy
 Enum controlling how this font face should be loaded at runtime. See the enum for more explanations of the options.
EFontLayoutMethod LayoutMethod
 Which method should we use when laying out the font? Try changing this if you notice clipping or height issues with your font.
int AscendOverriddenValue
 The typographic ascender of the face, expressed in font units.
bool bIsAscendOverridden
 Activate this option to use the specified ascend value instead of the value from the font.
int DescendOverriddenValue
 The typographic ascender of the face, expressed in font units.
bool bIsDescendOverridden
 Activate this option to use the specified descend value instead of the value from the font.
FString SourceFilename
 The filename of the font face we were created from. This may not always exist on disk, as we may have previously loaded and cached the font data inside this asset.
Public Attributes inherited from UObject
const UClass Class
const UObject Outer
const UPackage Outermost
const UPackage Package
const UWorld World
const FName Name
const bool IsRooted

Additional Inherited Members

Public Member Functions inherited from UObject
bool MarkPackageDirty () const
void RemoveFromRoot ()
bool GetIsRooted () const
bool IsTransient () const
bool Modify (bool bAlwaysMarkDirty=true)
void SetTransactional (bool bTransactional)
bool IsSupportedForNetworking () const
UClass GetClass () const
UObject GetOuter () const
UObject GetTypedOuter (TSubclassOf< UObject > Target) const
 Traverses the outer chain searching for the next object of a certain type.
UPackage GetOutermost () const
UPackage GetPackage () const
void AddToRoot ()
UWorld GetWorld () const
FName GetName () const
FString GetFullName (const UObject StopOuter=nullptr) const
FString GetPathName (const UObject StopOuter=nullptr) const
bool IsA (const UClass Class) const
 Returns true if this object is of the specified type, or a child of that type.
void SaveConfig ()
void LoadConfig ()
void ReloadConfig ()
void CopyScriptPropertiesFrom (const UObject OtherObject)
void opCast (?&Address) const
FString ToString () const

Detailed Description

A font face asset contains the raw payload data for a source TTF/OTF file as used by FreeType. During cook this asset type generates a ".ufont" file containing the raw payload data (unless loaded "Inline").

Member Function Documentation

◆ StaticClass()

UClass StaticClass ( )
static

Member Data Documentation

◆ AscendOverriddenValue

int AscendOverriddenValue

The typographic ascender of the face, expressed in font units.

◆ bIsAscendOverridden

bool bIsAscendOverridden

Activate this option to use the specified ascend value instead of the value from the font.

◆ bIsDescendOverridden

bool bIsDescendOverridden

Activate this option to use the specified descend value instead of the value from the font.

◆ DescendOverriddenValue

int DescendOverriddenValue

The typographic ascender of the face, expressed in font units.

◆ Hinting

EFontHinting Hinting

The hinting algorithm to use with the font face.

◆ LayoutMethod

EFontLayoutMethod LayoutMethod

Which method should we use when laying out the font? Try changing this if you notice clipping or height issues with your font.

◆ LoadingPolicy

EFontLoadingPolicy LoadingPolicy

Enum controlling how this font face should be loaded at runtime. See the enum for more explanations of the options.

◆ SourceFilename

FString SourceFilename

The filename of the font face we were created from. This may not always exist on disk, as we may have previously loaded and cached the font data inside this asset.