UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
LightSceneInfo.cpp File Reference

Functions

FAutoConsoleVariableRef CVarTestMobilityForStaticSceneMembership (TEXT("r.Light.TestMobilityForStaticSceneMembership"), GTestMobilityForStaticSceneMembership, TEXT("Deprecated (UE5.5): Temporary flag to switch back to the old behavior (testing the cast static shadow flag)\n.") TEXT(" The old behavior checked the HasStaticShadowing flag on the proxy, but that is cleared for VSMs so the new behavior tests the mobility instead."), ECVF_RenderThreadSafe|ECVF_ReadOnly)
 
FORCEINLINE bool AreSpheresNotIntersecting (const VectorRegister &A_XYZ, const VectorRegister &A_Radius, const VectorRegister &B_XYZ, const VectorRegister &B_Radius)
 

Variables

int32 GWholeSceneShadowUnbuiltInteractionThreshold = 500
 
FAutoConsoleVariableRef CVarRecordInteractionShadowPrimitives (TEXT("r.Shadow.RecordInteractionShadowPrimitives"), GRecordInteractionShadowPrimitives, TEXT(""), ECVF_RenderThreadSafe)
 

Function Documentation

◆ AreSpheresNotIntersecting()

FORCEINLINE bool AreSpheresNotIntersecting ( const VectorRegister A_XYZ,
const VectorRegister A_Radius,
const VectorRegister B_XYZ,
const VectorRegister B_Radius 
)

Determines whether two bounding spheres intersect.

◆ CVarTestMobilityForStaticSceneMembership()

FAutoConsoleVariableRef CVarTestMobilityForStaticSceneMembership ( TEXT("r.Light.TestMobilityForStaticSceneMembership")  ,
GTestMobilityForStaticSceneMembership  ,
TEXT("Deprecated (UE5.5): Temporary flag to switch back to the old behavior (testing the cast static shadow flag)\n.") TEXT(" The old behavior checked the HasStaticShadowing flag on the proxy, but that is cleared for VSMs so the new behavior tests the mobility instead." ,
ECVF_RenderThreadSafe ECVF_ReadOnly 
)

Variable Documentation

◆ CVarRecordInteractionShadowPrimitives

FAutoConsoleVariableRef CVarRecordInteractionShadowPrimitives(TEXT("r.Shadow.RecordInteractionShadowPrimitives"), GRecordInteractionShadowPrimitives, TEXT(""), ECVF_RenderThreadSafe) ( TEXT("r.Shadow.RecordInteractionShadowPrimitives")  ,
GRecordInteractionShadowPrimitives  ,
TEXT("")  ,
ECVF_RenderThreadSafe   
)

◆ GWholeSceneShadowUnbuiltInteractionThreshold

int32 GWholeSceneShadowUnbuiltInteractionThreshold = 500