Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UMaterialExpressionFontSampleParameter |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionFontSampleParameter.h |
| Include Path | #include "Materials/MaterialExpressionFontSampleParameter.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionFontSampleParameter : public UMaterialExpressionFontSample
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionFontSample → UMaterialExpressionFontSampleParameter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionFontSampleParameter
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionFontSampleParameter.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExpressionGUID | FGuid | GUID that should be unique within the material, this is used for parameter renaming. | Materials/MaterialExpressionFontSampleParameter.h | |
| Group | FName | The name of the parameter Group to display in MaterialInstance Editor. Default is None group | Materials/MaterialExpressionFontSampleParameter.h |
|
| ParameterName | FName | Name to be referenced when we want to find and set thsi parameter | Materials/MaterialExpressionFontSampleParameter.h |
|
| SortPriority | int32 | Controls where the this parameter is displayed in a material instance parameter list. | Materials/MaterialExpressionFontSampleParameter.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetDefaultFont() |
Sets the default Font if none is set | Materials/MaterialExpressionFontSampleParameter.h | |
bool SetParameterValue
(
FName InParameterName, |
Materials/MaterialExpressionFontSampleParameter.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionFontSampleParameter.h | |
virtual bool CanRenameNode() |
Can this node be renamed? | Materials/MaterialExpressionFontSampleParameter.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionFontSampleParameter.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionFontSampleParameter.h | ||
virtual FString GetEditableName () |
Returns the current 'name' of the node (typically a parameter name). | Materials/MaterialExpressionFontSampleParameter.h | |
virtual FGuid & GetParameterExpressionId() |
Callback to access derived classes' parameter expression id. | Materials/MaterialExpressionFontSampleParameter.h | |
virtual FName GetParameterName() |
Materials/MaterialExpressionFontSampleParameter.h | ||
virtual bool GetParameterValue
(
FMaterialParameterMetadata& OutMeta |
Materials/MaterialExpressionFontSampleParameter.h | ||
virtual bool HasAParameterName() |
Parameter Name functions, this is requires as multiple class have ParameterName but are not UMaterialExpressionParameter due to class hierarchy. | Materials/MaterialExpressionFontSampleParameter.h | |
virtual bool MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query | Materials/MaterialExpressionFontSampleParameter.h | |
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. | Materials/MaterialExpressionFontSampleParameter.h | |
virtual void SetParameterName
(
const FName& Name |
Materials/MaterialExpressionFontSampleParameter.h | ||
virtual bool SetParameterValue
(
const FName& Name, |
Materials/MaterialExpressionFontSampleParameter.h | ||
virtual void ValidateParameterName
(
const bool bAllowDuplicateName |
Materials/MaterialExpressionFontSampleParameter.h |