FSubsurfaceProfileStruct

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/SubsurfaceProfile.h

Include

#include "Engine/SubsurfaceProfile.h"

Syntax

struct FSubsurfaceProfileStruct

Remarks

Struct with all the settings we want in USubsurfaceProfile, separate to make it easer to pass this data around in the engine.

Variables

Name Description

Public variable

bool

 

bEnableBurley

Effective only when Burley subsurface scattering is enabled in cmd.

Public variable

FLinearColor

 

BoundaryColorBleed

Public variable

float

 

ExtinctionScale

Public variable

FLinearColor

 

FalloffColor

Defines the per-channel falloff of the gradients produced by the subsurface scattering events, can be used to fine tune the color of the gradients (called "falloff" in SeparableSSS, default there: 1, 0.37, 0.3)

Public variable

float

 

IOR

Public variable

float

 

LobeMix

Public variable

FLinearColor

 

MeanFreePathColor

Controls how far light goes into the subsurface in the Red, Green and Blue channel.

Public variable

float

 

MeanFreePathDistance

Subsurface mean free path distance in world/unreal units (cm)

Public variable

float

 

NormalScale

Public variable

float

 

Roughness0

Public variable

float

 

Roughness1

Public variable

float

 

ScatteringDistribution

Public variable

float

 

ScatterRadius

In world/unreal units (cm)

Public variable

FLinearColor

 

SubsurfaceColor

Specifies the how much of the diffuse light gets into the material, can be seen as a per-channel mix factor between the original image, and the SSS-filtered image (called "strength" in SeparableSSS, default there: 0.48, 0.41, 0.28)

Public variable

FLinearColor

 

SurfaceAlbedo

It should match The base color of the corresponding material as much as possible.

Public variable

FLinearColor

 

TransmissionTintColor

Transmission tint control.

Public variable

float

 

WorldUnitScale

Control the scale of world/unreal units (cm)

Constructors

Name Description

Public function

FSubsurfaceProfileStruct()

Constructor

Functions

Name Description

Public function

void

 

Invalidate()

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