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

Classes

class  FDirectionalLightSceneProxy
 

Functions

FAutoConsoleVariableRef CVarFarShadowStaticMeshLODBias (TEXT("r.Shadow.FarShadowStaticMeshLODBias"), GFarShadowStaticMeshLODBias, TEXT("Notice: only selected geometry types (static meshes and landscapes) respect this value."), ECVF_Scalability|ECVF_RenderThreadSafe)
 
void ComputeShadowCullingVolume (bool bReverseCulling, const FVector *CascadeFrustumVerts, const FVector &LightDirection, FConvexVolume &ConvexVolumeOut, FPlane &NearPlaneOut, FPlane &FarPlaneOut)
 
float ComputeWholeSceneDynamicShadowRadius (EComponentMobility::Type Mobility, float DynamicShadowDistanceMovableLight, float DynamicShadowDistanceStationaryLight)
 

Variables

ENGINE_API int32 GFarShadowStaticMeshLODBias = 0
 

Function Documentation

◆ ComputeShadowCullingVolume()

void ComputeShadowCullingVolume ( bool  bReverseCulling,
const FVector CascadeFrustumVerts,
const FVector LightDirection,
FConvexVolume ConvexVolumeOut,
FPlane NearPlaneOut,
FPlane FarPlaneOut 
)

◆ ComputeWholeSceneDynamicShadowRadius()

float ComputeWholeSceneDynamicShadowRadius ( EComponentMobility::Type  Mobility,
float  DynamicShadowDistanceMovableLight,
float  DynamicShadowDistanceStationaryLight 
)

◆ CVarFarShadowStaticMeshLODBias()

FAutoConsoleVariableRef CVarFarShadowStaticMeshLODBias ( TEXT("r.Shadow.FarShadowStaticMeshLODBias")  ,
GFarShadowStaticMeshLODBias  ,
TEXT("Notice: only selected geometry types (static meshes and landscapes) respect this value." ,
ECVF_Scalability ECVF_RenderThreadSafe 
)

Variable Documentation

◆ GFarShadowStaticMeshLODBias

ENGINE_API int32 GFarShadowStaticMeshLODBias = 0