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 строка 350
351 {
352 float time_in_ms = time_in_s * 1000;
353
354 if (time_in_s == -1)
355 {
357
361 }
362 else
363 {
367 }
368 }
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().