light
Swift declaration@MainActor @preconcurrency var light: SpotLightComponent { get set }A spotlight component for the entity.
protocol · iOS 13.0+ · SDK 27.1
@MainActor @preconcurrency protocol HasSpotLight : HasTransformAn interface that defines a spot light source component.
@MainActor @preconcurrency var light: SpotLightComponent { get set }A spotlight component for the entity.
@MainActor @preconcurrency var light: SpotLightComponent { get set }A spotlight component for the entity.
@MainActor @preconcurrency var shadow: SpotLightComponent.Shadow? { get set }The shadow for the spotlight. Set this property to `nil` to remove shadows for the light. Set it to an instance of ``SpotLightComponent/Shadow`` to create shadows.
@MainActor @preconcurrency var shadow: SpotLightComponent.Shadow? { get set }The shadow for the spotlight. Set this property to `nil` to remove shadows for the light. Set it to an instance of ``SpotLightComponent/Shadow`` to create shadows.
No declarations were skipped in this snapshot.