FFontFaceData

Raw font data for a Font Face asset.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Fonts/CompositeFont.h

Include

#include "Fonts/CompositeFont.h"

Syntax

struct FFontFaceData

Remarks

Raw font data for a Font Face asset.

Exists as a struct so it can be shared between its owner asset and the font cache without worrying about UObject lifetimes.

Constructors

Name Description

Public function

FFontFaceData()

Default constructor

Public function

FFontFaceData

(
    TArray< uint8 >&& InData
)

Construct from an existing block of font data

Destructors

Name Description

Public function

~FFontFaceData()

Destructor

Functions

Name Description

Public function Const

const TArray...

 

GetData()

Public function Const

bool

 

HasData()

Public function Static

FFontFaceDat...

 

MakeFontFaceData()

Helper function to construct a default font face data

Public function Static

FFontFaceDat...

 

MakeFontFaceData

(
    TArray< uint8 >&& InData
)

Helper function to construct a font face data from an existing block of font data

Public function

void

 

Serialize

(
    FArchive& Ar
)

Serialize the data on this instance to/from an archive

Public function

void

 

SetData

(
    TArray< uint8 >&& InData
)

Set from an existing block of font data

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