FEngineFontServices

A shim around [FSlateFontServices](API\Runtime\SlateCore\Rendering\FSlateFontServices) that provides access from the render thread (where [FSlateApplication::Get()](API\Runtime\Slate\Framework\Application\FSlateApplication\Get) would assert)

Windows
MacOS
Linux

Syntax

class FEngineFontServices

Remarks

A shim around FSlateFontServices that provides access from the render thread (where FSlateApplication::Get() would assert)

Constructors

No constructors are accessible with public or protected access.

Destructors

No destructors are accessible with public or protected access.

Functions

Name Description

Public function Static

void

 

Create()

Create the singular instance of this class - must be called from the game thread

Public function Static

void

 

Destroy()

Destroy the singular instance of this class - must be called from the game thread

Public function Static

FEngineFontS...

 

Get()

Get the singular instance of this class

Public function

TSharedPtr< ...

 

GetFontCache()

Get the font cache to use for the current thread

Public function

TSharedPtr< ...

 

GetFontMeasure()

Get the font measure to use for the current thread

Public function Static

bool

 

IsInitialized()

Check to see if the singular instance of this class is currently initialized and ready

Public function

void

 

UpdateCache()

Update the cache for the current thread

Constants

Name

Description

Instance

Singular instance of this class

References

Module

Engine

Header

Runtime/Engine/Public/EngineFontServices.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback