UMaterialExpressionFontSample

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionFontSample.h

Include

#include "Materials/MaterialExpressionFontSample.h"

Syntax

class UMaterialExpressionFontSample : public UMaterialExpression

Variables

Name Description

Public variable

UFont *

 

Font

Font resource that will be sampled

Public variable

int32

 

FontTexturePage

Allow access to the various font pages

Constructors

Name Description

Public function

UMaterialExpressionFontSample

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UMaterialExpression

Name Description

Public function Virtual Const

bool

 

CanReferenceTexture()

Returns true if GetReferencedTexture() can ever return a valid pointer.

Public function Virtual

int32

 

Compile

(
    FMaterialCompiler* Compiler,
    int32 OutputIndex
)

Create the new shader code chunk needed for the Abs expression

Public function Virtual Const

void

 

GetCaption

(
    TArray< FString >& OutCaptions
)

Returns the text to display on the material expression (in the material editor).

Public function Virtual

int32

 

GetLabelPadding()

Returns the amount of padding to use for the label.

Public function Virtual Const

UObject *...

 

GetReferencedTexture()

Callback to get any texture reference this expression emits.

Public function Virtual Const

int32

 

GetWidth()

Get the width required by this expression (in the material editor).

Public function Virtual

bool

 

MatchesSearchQuery

(
    const TCHAR* SearchQuery
)

MatchesSearchQuery: Check this expression to see if it matches the search query

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