Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

Light.dilatedRange

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Switch to Manual
public float dilatedRange;

Description

The maximum distance the emitted light might travel from the position of the light. This property does not apply to directional lights.

The intensity might fall off to zero before the light reaches this distance.

For non-area lights, the Light.dilatedRange property and the Light.range property return the same value. For area lights, Light.dilatedRange is larger than Light.range as it takes the size of the area light into account.