DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetBrightnessTo()

void EntityLightSource::SetBrightnessTo ( float value)
inlineprivate

Sets the brightness of the light.

См. определение в файле ScriptedLightBase.c строка 258

259 {
260 m_Brightness = value;
261 m_BrightnessTarget = value;
262 SetBrightness(m_Brightness * m_BrightnessPulse);
264 }
float m_BrightnessPulse
Определения ScriptedLightBase.c:19
float m_Brightness
Определения ScriptedLightBase.c:18
float m_BrightnessTarget
Определения ScriptedLightBase.c:23
void CorrectLightPulseDuringDaylight()
Call this after using SetBrightness(...) to fix light's intensity during daytime.
Определения ScriptedLightBase.c:267

Перекрестные ссылки CorrectLightPulseDuringDaylight(), m_Brightness, m_BrightnessPulse и m_BrightnessTarget.

Используется в FadeIn().