UMaterialExpressionCollectionParameter

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UMaterialExpression

UMaterialExpressionCollectionParameter

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionCollectionParameter.h"

Syntax

class UMaterialExpressionCollectionParameter : public UMaterialExpression

Variables

Name Description

Public variable

UMaterialParame...

 

Collection

The Parameter Collection to use.

Public variable

FGuid

 

ParameterId

Id that is set from the name, and used to handle renaming of collection parameters.

Public variable

FName

 

ParameterName

Name of the parameter being referenced.

Constructors

Name Description

Public function

UMaterialExpressionCollectionParameter

(
    const FObjectInitializer& ObjectIn...
)

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

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

 

SetParameterName

(
    const FName& Name
)

Public function Virtual

void

 

ValidateParameterName

(
    const bool bAllowDuplicateName
)

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.

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