FShadowCascadeSettings

Information about a single shadow cascade.

Windows
MacOS
Linux

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

 

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

References

Module

Engine

Header

Runtime/Engine/Public/SceneManagement.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback