# Sandbox.SceneDirectionalLight

A directional scene light that is used to mimic sun light in a [Sandbox.SceneWorld](/api/Sandbox.SceneWorld).
Direction is controlled by this object's [Rotation](/api/Rotation).

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.SceneLight](/api/Sandbox.SceneLight)
- Modifiers: sealed

## Constructors

- [`SceneDirectionalLight`](/api/Sandbox.SceneDirectionalLight/.ctor)

## Properties

- [`ShadowCascadeCount`](/api/Sandbox.SceneDirectionalLight/ShadowCascadeCount): Control number of shadow cascades
- [`ShadowCascadeSplitRatio`](/api/Sandbox.SceneDirectionalLight/ShadowCascadeSplitRatio)
- [`SkyColor`](/api/Sandbox.SceneDirectionalLight/SkyColor): Ambient light color outside of all light probes.

## Methods

- [`SetCascadeDistanceScale`](/api/Sandbox.SceneDirectionalLight/SetCascadeDistanceScale): Set the max distance of the shadow cascade
