UMaterialExpressionVectorParameter

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionVectorParameter.h"

Syntax

class UMaterialExpressionVectorParameter : public UMaterialExpressionParameter

Variables

Name Description

Public variable

bool

 

bUseCustomPrimitiveData

Public variable

FParameterChann...

 

ChannelNames

Public variable

FLinearColor

 

DefaultValue

Public variable

uint8

 

PrimitiveDataIndex

Constructors

Name Description

Public function

UMaterialExpressionVectorParameter

(
    const FObjectInitializer& ObjectIn...
)

Functions

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

EMaterialGen...

 

GenerateHLSLExpression

(
    FMaterialHLSLGenerator& Generator,
    UE::HLSLTree::FScope& Scope,
    int32 OutputIndex,
    UE::HLSLTree::FExpression*& Ou...
)

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

bool

 

GetParameterValue

(
    FMaterialParameterMetadata& OutMet...
)

Public function Virtual Const

bool

 

HasClassAndNameCollision

(
    UMaterialExpression* OtherExpr...
)

Public function Virtual

bool

 

SetParameterValue

(
    const FName& Name,
    const FMaterialParameterMetadata& ...,
    EMaterialExpressionSetParameterValu...
)

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

Deprecated Functions

Name Description

Public function Virtual Const

void

 

GetAllParameterInfo

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

Use GetAllParameterInfoOfType or GetAllParametersOfType

Public function Const

bool

 

IsNamedParameter

(
    const FHashedMaterialParameterInfo ...,
    FLinearColor& OutValue
)

Use GetParameterValue and/or GetParameterName