Starts the fade out process and destroys the light when its done. Optional parameter allows you to set time of this fade out in seconds. If not set, then default value (from SetFadeOutTime(...)) is used.
См. определение в файле ScriptedLightBase.c строка 347
348 {
349 float time_in_ms = time_in_s * 1000;
350
351 if (time_in_s == -1)
352 {
354
358 }
359 else
360 {
364 }
365 }
void SetLifetime(float life_in_s)
Makes the light destroy itself after the given time in seconds. The light will fade out if it's set t...
void FadeBrightnessTo(float value, float time_in_s)
Fades the brightness of the light to the given value.
void FadeRadiusTo(float value, float time_in_s)
Fades the radius of the light to the given value.
Перекрестные ссылки FadeBrightnessTo(), FadeRadiusTo(), m_FadeOutTime и SetLifetime().