UMaterialExpressionPixelNormalWS::Compile

Create the new shader code chunk needed for the Abs expression

Windows
MacOS
Linux

Override Hierarchy

UMaterialExpression::Compile()

UMaterialExpressionPixelNormalWS::Compile()

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionPixelNormalWS.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp

Syntax

virtual int32 Compile
(
    class FMaterialCompiler * Compiler,
    int32 OutputIndex
)

Remarks

Create the new shader code chunk needed for the Abs expression

Returns

Index to the new FMaterialCompiler::CodeChunk entry for this expression

Parameters

Parameter

Description

Compiler

UMaterial compiler that knows how to handle this expression.

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