FShadowCascadeSettings

Information about a single shadow cascade.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Syntax

class FShadowCascadeSettings

Remarks

Information about a single shadow cascade.

Variables

Name Description

Public variable

bool

 

bFarShadowCascade

When enabled, the cascade only renders objects marked with bCastFarShadows enabled (e.g. Landscape).

Public variable

float

 

CascadeBiasDistribution

Strength of depth bias across cascades.

Public variable

float

 

FadePlaneLength

The length of the fade region (SplitFar - FadePlaneOffset), in world units (linear).

Public variable

float

 

FadePlaneOffset

?? The distance from the camera to the start of the fade region, in world units (linear).

Public variable

FPlane

 

FarFrustumPlane

Public variable

FPlane

 

NearFrustumPlane

Public variable

FConvexVolume

 

ShadowBoundsAccurate

The accurate bounds of the cascade used for primitive culling.

Public variable

int32

 

ShadowSplitIndex

Index of the split if this is a whole scene shadow from a directional light, Or index of the direction if this is a whole scene shadow from a point light, otherwise INDEX_NONE.

Public variable

float

 

SplitFar

The distance from the camera to the far split plane, in world units (linear).

Public variable

float

 

SplitFarFadeRegion

In world units (linear).

Public variable

float

 

SplitNear

The distance from the camera to the near split plane, in world units (linear).

Public variable

float

 

SplitNearFadeRegion

In world units (linear).

Constructors

Name Description

Public function

FShadowCascadeSettings()

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