UMaterialExpressionSceneColor

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionSceneColor.h"

Syntax

class UMaterialExpressionSceneColor : public UMaterialExpression

Variables

Name Description

Public variable

FVector2D

 

ConstInput

Only used if Input is not hooked up

Public variable

FExpressionInpu...

 

Input

Based on the input mode the input will be treated as either: UV coordinates to apply to the scene color lookup or an offset to apply to the scene color lookup, in a 2d fraction of the screen.

Public variable

TEnumAsByte< en...

 

InputMode

Coordinates - UV coordinates to apply to the scene color lookup.

Constructors

Name Description

Public function

UMaterialExpressionSceneColor

(
    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 Const

FName

 

GetInputName

(
    int32 InputIndex
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Deprecated Variables

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