castsShadow property

bool castsShadow
getter/setter pair

Whether this spot casts a shadow. When true, the renderer renders the cone into a perspective shadow map if the scene's spot-shadow budget has room (shadow-casting spots are limited; the rest shade unshadowed).

Implementation

bool castsShadow;