Instance Property

light

A directional light component for the entity.

Declaration

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.