castsShadow property
Whether this light casts a shadow. When true, the renderer renders six perspective depth faces around the light if the scene's point-shadow budget has room (shadow-casting point lights are limited; the rest shade unshadowed). Six faces cost six depth passes, so this is the most expensive shadow type per light.
Implementation
bool castsShadow;