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

◆ UpdateChromAbb()

static void PPEffects::UpdateChromAbb ( )
inlinestaticprivate

updates the chromatic abberation post process effect where the resulting chromabb is an aggregate of all individual chromabb effect values

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

299 {
300 float chromabb_value_total = 0;
301 if( m_ChromAbbValues )
302 {
303 for ( int i = 0; i < m_ChromAbbValues.Count(); ++i )
304 {
305 chromabb_value_total += m_ChromAbbValues[i]; //currently additive!
306 }
307 }
308
309 SetChromAbb( chromabb_value_total );
310 }
static ref array< float > m_ChromAbbValues
Определения PPEffects.c:36
static void SetChromAbb(float value)
Определения PPEffects.c:284

Перекрестные ссылки m_ChromAbbValues и SetChromAbb().

Используется в ResetChromAbbEffects() и SetChromAbbOptic().