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

◆ SetBrightnessTo()

void EntityLightSource::SetBrightnessTo ( float value)
inlineprivate

Sets the brightness of the light.

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

256 {
257 m_Brightness = value;
258 m_BrightnessTarget = value;
259 SetBrightness(m_Brightness * m_BrightnessPulse);
261 }
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:264

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

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