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

◆ SetValuesIronsights()

void PPERequester_GameplayBase::SetValuesIronsights ( out array< float > DOF_array)
inlineprivate

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

31 {
32 //mask - no mask
34
35 //lens - no lens
36 SetTargetValueFloatDefault(PostProcessEffectType.Glow,PPEGlow.PARAM_LENSDISTORT);
37 SetTargetValueFloatDefault(PostProcessEffectType.Glow,PPEGlow.PARAM_MAXCHROMABBERATION);
38 SetTargetValueFloatDefault(PostProcessEffectType.Glow,PPEGlow.PARAM_LENSCENTERX);
39 SetTargetValueFloatDefault(PostProcessEffectType.Glow,PPEGlow.PARAM_LENSCENTERY);
40
41 //DOF
42 SetTargetValueBool(PPEExceptions.DOF,PPEDOF.PARAM_ENABLE,DOF_array[0],PPEDOF.L_0_ADS,PPOperators.SET);
43 SetTargetValueFloat(PPEExceptions.DOF,PPEDOF.PARAM_FOCUS_DIST,false,DOF_array[1],PPEDOF.L_1_ADS,PPOperators.SET);
44 SetTargetValueFloat(PPEExceptions.DOF,PPEDOF.PARAM_FOCUS_LEN,false,DOF_array[2],PPEDOF.L_2_ADS,PPOperators.SET);
45 SetTargetValueFloat(PPEExceptions.DOF,PPEDOF.PARAM_FOCUS_LEN_NEAR,false,DOF_array[3],PPEDOF.L_3_ADS,PPOperators.SET);
46 SetTargetValueFloat(PPEExceptions.DOF,PPEDOF.PARAM_BLUR,false,DOF_array[4],PPEDOF.L_4_ADS,PPOperators.SET);
47 SetTargetValueFloat(PPEExceptions.DOF,PPEDOF.PARAM_FOCUS_DEPTH_OFFSET,false,DOF_array[5],PPEDOF.L_5_ADS,PPOperators.SET);
48
49 //blur - no gauss blur (DOF bokeh only)
50 SetTargetValueFloatDefault(PostProcessEffectType.GaussFilter,PPEGaussFilter.PARAM_INTENSITY);
51 }
PPOperators
PP operators, specify operation between subsequent layers.
Определения PPEConstants.c:53
PPEExceptions
Определения PPEConstants.c:43
void SetTargetValueBool(int mat_id, int param_idx, bool val, int priority_layer, int operator=PPOperators.SET)
Определения PPERequestPlatformsBase.c:511
void SetTargetValueFloatDefault(int mat_id, int param_idx)
Определения PPERequestPlatformsBase.c:611
void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Определения PPERequestPlatformsBase.c:588
proto native void ResetPPMask()
proto native CGame GetGame()
PostProcessEffectType
Post-process effect type.
Определения EnWorld.c:72

Перекрестные ссылки GetGame(), PPEDOF::L_0_ADS, PPEDOF::L_1_ADS, PPEDOF::L_2_ADS, PPEDOF::L_3_ADS, PPEDOF::L_4_ADS, PPEDOF::L_5_ADS, PPEDOF::PARAM_BLUR, PPEDOF::PARAM_ENABLE, PPEDOF::PARAM_FOCUS_DEPTH_OFFSET, PPEDOF::PARAM_FOCUS_DIST, PPEDOF::PARAM_FOCUS_LEN, PPEDOF::PARAM_FOCUS_LEN_NEAR, PPEGaussFilter::PARAM_INTENSITY, PPEGlow::PARAM_LENSCENTERX, PPEGlow::PARAM_LENSCENTERY, PPEGlow::PARAM_LENSDISTORT, PPEGlow::PARAM_MAXCHROMABBERATION, CGame::ResetPPMask(), SetTargetValueBool(), SetTargetValueFloat() и SetTargetValueFloatDefault().