Contents

castsShadow

A Boolean value that determines whether the light casts shadows.

Declaration

var castsShadow: Bool { get set }

Discussion

Geometries illuminated by the light cast shadows only if the value of this property is true and the type property of the light is spot or directional. The default value is false.

See Also

Managing Shadows Cast by the Light