UMaterialExpressionStrataLegacyConversion

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Materials/MaterialExpressionStrata.h"

Syntax

class UMaterialExpressionStrataLegacyConversion : public UMaterialExpressionStrataBSDF

Variables

Name Description

Public variable

FExpressionInpu...

 

Anisotropy

Controls the anisotropy factor of the roughness.

Public variable

FExpressionInpu...

 

BaseColor

Defines the overall color of the Material. (type = float3, unit = unitless, defaults to 0.18)

Public variable

FExpressionInpu...

 

ClearCoat

Emissive color on top of the surface (type = float3, unit = luminance, default = 0)

Public variable

FExpressionInpu...

 

ClearCoatNormal

Take the bottom clear coat surface normal as input.

Public variable

FExpressionInpu...

 

ClearCoatRoughness

The amount of fuzz on top of the surface used to simulate cloth-like appearance.

Public variable

FExpressionInpu...

 

ColorScaleBehindWater

A scale to apply on the scene color behind the water surface.

Public variable

FStrataMaterial...

 

ConvertedStrataMaterialInfo

Store converted material models.

Public variable

FExpressionInpu...

 

EmissiveColor

Emissive color on top of the surface (type = float3, unit = luminance, default = 0)

Public variable

FExpressionInpu...

 

Metallic

Controls how "metal-like" your surface looks like.

Public variable

FExpressionInpu...

 

Normal

Take the surface normal as input.

Public variable

FExpressionInpu...

 

Opacity

Opacity of the material

Public variable

FExpressionInpu...

 

Roughness

Controls how rough the Material is.

Public variable

FExpressionInpu...

 

ShadingModel

Shading models

Public variable

FExpressionInpu...

 

Specular

Used to scale the current amount of specularity on non-metallic surfaces and is a value between 0 and 1 (type = float, unit = unitless, defaults to plastic 0.5)

Public variable

FExpressionInpu...

 

SubSurfaceColor

Scale the mean free path radius of the SSS profile according to a value between 0 and 1.

Public variable

TObjectPtr< cla...

 

SubsurfaceProfile

SubsurfaceProfile, for Screen Space Subsurface Scattering.

Public variable

FExpressionInpu...

 

Tangent

Take a surface tangent as input.

Public variable

FExpressionInpu...

 

TransmittanceColor

The amount of transmitted light from the back side of the surface to the front side of the surface (type = float3, unit = unitless, defaults to 1)

Public variable

FExpressionInpu...

 

WaterAbsorptionCoefficients

The rate at which light is absorbed or out-scattered by the medium.

Public variable

FExpressionInpu...

 

WaterPhaseG

Anisotropy of the volume with values lower than 0 representing back-scattering, equal 0 representing isotropic scattering and greater than 0 representing forward scattering.

Public variable

FExpressionInpu...

 

WaterScatteringCoefficients

The single scattering Albedo defining the overall color of the Material (type = float3, unit = unitless, default = 0)

Constructors

Name Description

Public function

UMaterialExpressionStrataLegacyConversion

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

bool

 

HasAnisotropy()

Public function Const

bool

 

HasSSS()

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

void

 

GatherStrataMaterialInfo

(
    FStrataMaterialInfo& StrataMateria...,
    int32 OutputIndex
)

Recursively parse nodes outputing strata material in order to gather all the possible shading models used in a material graph output a Strata material.

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

 

GetConnectorToolTip

(
    int32 InputIndex,
    int32 OutputIndex,
    TArray< FString >& OutToolTip
)

Get a tooltip for the specified connector.

Public function Virtual Const

FName

 

GetInputName

(
    int32 InputIndex
)

Public function Virtual

const TArray...

 

GetInputs()

Public function Virtual

uint32

 

GetInputType

(
    int32 InputIndex
)

Public function Virtual

uint32

 

GetOutputType

(
    int32 OutputIndex
)

Public function Virtual

bool

 

IsResultStrataMaterial

(
    int32 OutputIndex
)

Marks certain expression types as outputting Strata material.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally