Contents

shadow

The shadow for the spotlight.

Declaration

@MainActor @preconcurrency var shadow: SpotLightComponent.Shadow? { get set }

Discussion

Set this property to nil to remove shadows for the light. Set it to an instance of SpotLightComponent.Shadow to create shadows.