UMaterialExpressionVectorParameter

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

Name Description

Public function

void

 

ApplyChannelNames()

Public function Const

FParameterCh...

 

GetVectorChannelNames()

Public function Const

bool

 

IsNamedParameter

(
    const FHashedMaterialParameterInfo ...,
    FLinearColor& OutValue
)

Return whether this is the named parameter, and fill in its value

Public function Virtual Const

bool

 

IsUsedAsChannelMask()

Public function Virtual

bool

 

SetParameterValue

(
    FName InParameterName,
    FLinearColor InValue
)

Overridden from UMaterialExpressionParameter

Name Description

Public function Virtual Const

void

 

GetAllParameterInfo

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

Get list of parameter names for static parameter sets

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

bool

 

HasClassAndNameCollision

(
    UMaterialExpression* OtherExpr...
)

Public function Virtual

void

 

SetValueToMatchingExpression

(
    UMaterialExpression* OtherExpr...
)

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

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