/Engine/Source/Runtime/Engine/Public/LightSceneProxy.h
Returns the number of view dependent shadows this light will create, not counting distance field shadow cascades.
virtual uint32 GetNumViewDependentWholeSceneShadows ( const [FSceneView](API\Runtime\Engine\FSceneView) & View, bool bPrecomputedLightingIsValid ) const