UMaterialExpressionDistanceFieldsRenderingSwitch

Material output expression to switch logic according to whether distance fields renderering is supported on this project and feature level.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UMaterialExpression

UMaterialExpressionDistanceFieldsRenderingSwitch

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionDistanceFieldsRenderingSwitch.h"

Syntax

class UMaterialExpressionDistanceFieldsRenderingSwitch : public UMaterialExpression

Remarks

Material output expression to switch logic according to whether distance fields renderering is supported on this project and feature level.

Variables

Name Description

Public variable

FExpressionInpu...

 

No

Used if distance fields renderering is not supported.

Public variable

FExpressionInpu...

 

Yes

Used if distance fields renderering is supported.

Constructors

Name Description

Public function

UMaterialExpressionDistanceFieldsRenderingSwitch

(
    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

uint32

 

GetInputType

(
    int32 InputIndex
)

Public function Virtual

uint32

 

GetOutputType

(
    int32 OutputIndex
)

Public function Virtual

bool

 

IsResultMaterialAttributes

(
    int32 OutputIndex
)

Marks certain expression types as outputting material attributes.

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