Instance Property

shadow

The shadow cast by a directional light.

Declaration

var shadow: DirectionalLightComponent.Shadow? { get set }

Discussion

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.