UMaterialExpressionStaticComponentMaskParameter

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionStaticComponentMaskParameter.h"

Syntax

class UMaterialExpressionStaticComponentMaskParameter : public UMaterialExpressionParameter

Variables

Name Description

Public variable

uint32: 1

 

DefaultA

Public variable

uint32: 1

 

DefaultB

Public variable

uint32: 1

 

DefaultG

Public variable

uint32: 1

 

DefaultR

Public variable

FExpressionInpu...

 

Input

Constructors

Name Description

Public function

UMaterialExpressionStaticComponentMaskParameter

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

bool

 

IsNamedParameter

(
    const FHashedMaterialParameterInfo ...,
    bool& OutR,
    bool& OutG,
    bool& OutB,
    bool& OutA,
    FGuid& OutExpressionGuid
)

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

Public function

bool

 

SetParameterValue

(
    FName InParameterName,
    bool InR,
    bool InG,
    bool InB,
    bool InA,
    FGuid InExpressionGuid
)

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

void

 

SetValueToMatchingExpression

(
    UMaterialExpression* OtherExpr...
)

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