UMaterialExpressionParameter

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionParameter.h"

Syntax

class UMaterialExpressionParameter : public UMaterialExpression

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

The name of the parameter

Public variable

int32

 

SortPriority

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

Constructors

Name Description

Public function

UMaterialExpressionParameter

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Virtual Const

void

 

GetAllParameterInfo

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

Get list of parameter names for static parameter sets

Overridden from UMaterialExpression

Name Description

Public function Virtual Const

bool

 

CanRenameNode()

Can this node be renamed?

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

 

ValidateParameterName

(
    const bool bAllowDuplicateName
)

Constants

Name

Description

ParameterDefaultName

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