Instance Property

light

A spotlight component for the entity.

Declaration

var light: SpotLightComponent { get set }

See Also

Configuring the Spot Light

struct SpotLightComponent

A component that defines a spotlight source.

var shadow: SpotLightComponent.Shadow?

The shadow cast by a spot light.

protocol HasSpotLight

An interface that defines a spot light source component.