Instance Property


The shadow cast by a directional light.


var shadow: DirectionalLightComponent.Shadow? { get set }


Set this value to nil to remove shadows.

See Also

Configuring the Directional Light

var light: DirectionalLightComponent

A directional light component for the entity.

struct DirectionalLightComponent

A component that defines a directional light source.

protocol HasDirectionalLight

An interface that defines a directional light source component.