/Engine/Source/Runtime/Engine/Public/StaticLighting.h
Determines whether the mesh should cast a shadow from a specific light on a specific mapping. This doesn't determine if the mesh actually shadows the receiver, just whether it should be allowed to.
true if the mesh should shadow the receiver from the light.
virtual bool ShouldCastShadow ( [ULightComponent](API\Runtime\Engine\Components\ULightComponent) * Light, const [FStaticLightingMapping](API\Runtime\Engine\FStaticLightingMapping) * Receiver ) const