priority property

int priority
getter/setter pair

Selects the primary directional light when a render feature supports only one, such as cascaded shadows. Higher values win. Equal priorities fall back to the strongest light.

Additional directional lights still contribute direct lighting.

Implementation

int priority;