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

◆ SetNVParams()

static void PPEffects::SetNVParams ( float light_mult,
float noise_intensity,
float sharpness,
float grain_size )
inlinestaticprivate

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

725 {
726 Material matHDR = GetGame().GetWorld().GetMaterial("Graphics/Materials/postprocess/filmgrainNV");
727/*#ifdef PLATFORM_CONSOLE
728//worst-case scenario console fix!
729 noise_intensity = 0.0;
730#endif*/
731 g_Game.NightVissionLightParams(light_mult, noise_intensity);
732 matHDR.SetParam("Sharpness", sharpness);
733 matHDR.SetParam("GrainSize", grain_size);
734 }
DayZGame g_Game
Определения DayZGame.c:3868
proto native World GetWorld()
proto bool SetParam(string propertyName, void value)
proto native Material GetMaterial(string materialName)
proto native CGame GetGame()
int[] Material
Определения proto.c:265

Перекрестные ссылки g_Game, GetGame(), World::GetMaterial(), CGame::GetWorld() и Material::SetParam().