FFontOutlineSettings

Settings for applying an outline to a font

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Fonts/SlateFontInfo.h"

Syntax

struct FFontOutlineSettings

Remarks

Settings for applying an outline to a font

Variables

Name Description

Public variable

bool

 

bApplyOutlineToDropShadows

When enabled the outline will be applied to any drop shadow that uses this font

Public variable

bool

 

bSeparateFillAlpha

When enabled the outline will be completely translucent where the filled area will be.

Public variable

FLinearColor

 

OutlineColor

The color of the outline for any character in this font

Public variable

UObject *

 

OutlineMaterial

Optional material to apply to the outline

Public variable

int32

 

OutlineSize

Size of the outline in slate units (at 1.0 font scale this unit is a pixel)

Constructors

Name Description

Public function

FFontOutlineSettings()

Public function

FFontOutlineSettings

(
    int32 InOutlineSize,
    FLinearColor InColor
)

Functions

Name Description

Public function Const

bool

 

IsIdenticalTo

(
    const FFontOutlineSettings& Other
)

Public function Const

bool

 

IsIdenticalToForCaching

(
    const FFontOutlineSettings& Other
)

Public function Const

bool

 

IsVisible()

Public function

void

 

PostSerialize

(
    const FArchive& Ar
)

Public function

bool

 

Serialize

(
    FArchive& Ar
)

Constants

Name

Description

NoOutline

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