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

◆ InitOpticsPP()

void ItemOptics::InitOpticsPP ( out array< float > mask_array,
out array< float > lens_array,
out float blur_float )
inlineprivate

initializes values for optics' post-processes

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

385 {
386 string path = "cfgVehicles " + GetType() + " OpticsInfo";
387 GetGame().ConfigGetFloatArray(path + " PPMaskProperties", mask_array);
388 GetGame().ConfigGetFloatArray(path + " PPLensProperties", lens_array);
389 blur_float = GetGame().ConfigGetFloat(path + " PPBlurProperties");
390 }
eBleedingSourceType GetType()
Определения BleedingSource.c:63
string path
Определения OptionSelectorMultistate.c:142
proto native float ConfigGetFloat(string path)
Get float value from config on path.
proto native void ConfigGetFloatArray(string path, out TFloatArray values)
Get array of floats from config on path.
proto native CGame GetGame()

Перекрестные ссылки CGame::ConfigGetFloat(), CGame::ConfigGetFloatArray(), GetGame(), GetType() и path.

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