Instance Property


A directional light component for the entity.


var light: DirectionalLightComponent { get set }

See Also

Configuring the Directional Light

struct DirectionalLightComponent

A component that defines a directional light source.

var shadow: DirectionalLightComponent.Shadow?

The shadow cast by a directional light.

protocol HasDirectionalLight

An interface that defines a directional light source component.