UMaterialExpressionDynamicParameter

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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback