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.

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