UMaterialExpressionStaticBoolParameter

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionStaticBoolParameter.h"

Syntax

class UMaterialExpressionStaticBoolParameter : public UMaterialExpressionParameter

Variables

Name Description

Public variable

uint32: 1

 

DefaultValue

Constructors

Name Description

Public function

UMaterialExpressionStaticBoolParameter

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

bool

 

IsNamedParameter

(
    const FHashedMaterialParameterInfo ...,
    bool& OutValue,
    FGuid& OutExpressionGuid
)

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

Public function

bool

 

SetParameterValue

(
    FName InParameterName,
    bool OutValue,
    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

int32

 

CompilePreview

(
    FMaterialCompiler* Compiler,
    int32 OutputIndex
)

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

uint32

 

GetOutputType

(
    int32 OutputIndex
)

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