UMaterialExpressionFontSampleParameter

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionFontSampleParameter.h"

Syntax

class UMaterialExpressionFontSampleParameter : public UMaterialExpressionFontSample

Variables

Name Description

Public variable

FGuid

 

ExpressionGUID

GUID that should be unique within the material, this is used for parameter renaming.

Public variable

FName

 

Group

The name of the parameter Group to display in MaterialInstance Editor. Default is None group

Public variable

FName

 

ParameterName

Name to be referenced when we want to find and set thsi parameter

Public variable

int32

 

SortPriority

Controls where the this parameter is displayed in a material instance parameter list.

Constructors

Name Description

Public function

UMaterialExpressionFontSampleParameter

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

void

 

GetAllParameterInfo

(
    TArray< FMaterialParameterInfo >& ...,
    TArray< FGuid >& OutParameterIds,
    const FMaterialParameterInfo& InBa...
)

Public function Const

bool

 

IsNamedParameter

(
    const FHashedMaterialParameterInfo ...,
    UFont*& OutFontValue,
    int32& OutFontPage
)

Return whether this is the named parameter, and fill in its value

Public function Virtual

void

 

SetDefaultFont()

Sets the default Font if none is set

Public function

bool

 

SetParameterValue

(
    FName InParameterName,
    UFont* InFontValue,
    int32 InFontPage
)

Overridden from UMaterialExpression

Name Description

Public function Virtual Const

bool

 

CanRenameNode()

Can this node be renamed?

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 Const

FString

 

GetEditableName()

Returns the current 'name' of the node (typically a parameter name).

Public function Virtual

FGuid &

 

GetParameterExpressionId()

Callback to access derived classes' parameter expression id.

Public function Virtual Const

FName

 

GetParameterName()

Public function Virtual Const

bool

 

HasAParameterName()

Parameter Name functions, this is requires as multiple class have ParameterName but are not UMaterialExpressionParameter due to class hierarchy.

Public function Virtual

bool

 

MatchesSearchQuery

(
    const TCHAR* SearchQuery
)

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

Public function Virtual

void

 

SetEditableName

(
    const FString& NewName
)

Sets the current 'name' of the node (typically a parameter name) Only valid to call on a node that previously returned CanRenameNode() = true.

Public function Virtual

void

 

SetParameterName

(
    const FName& Name
)

Public function Virtual

void

 

SetValueToMatchingExpression

(
    UMaterialExpression* OtherExpr...
)

Public function Virtual

void

 

ValidateParameterName

(
    const bool bAllowDuplicateName
)

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