UMaterialExpressionDynamicParameter

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UMaterialExpression

UMaterialExpressionDynamicParameter

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionDynamicParameter.h"

Syntax

class UMaterialExpressionDynamicParameter : public UMaterialExpression

Variables

Name Description

Public variable

FLinearColor

 

DefaultValue

Public variable

uint32

 

ParameterIndex

The index of the dynamic parameter for use in tools that allow > 1

Public variable

TArray< FString...

 

ParamNames

The names of the parameters.

Constructors

Name Description

Public function

UMaterialExpressionDynamicParameter

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

bool

 

CopyDynamicParameterProperties

(
    const UMaterialExpressionDynamicPar...
)

Copy the properties from the specified dynamic parameter

Public function

void

 

UpdateDynamicParameterProperties()

Iterate through all of the expression nodes until we find another dynamic parameter we can copy the properties from

Overridden from UMaterialExpression

Name Description

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

FText

 

GetKeywords()

Returns the keywords that should be used when searching for this expression

Public function Virtual

int32

 

GetLabelPadding()

Returns the amount of padding to use for the label.

Public function Virtual

TArray< FExp...

 

GetOutputs()

Get the outputs supported by this expression.

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

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.