Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
pperadialblur.c
Go to the documentation of this file.
3 {
4  static const int PARAM_POWERX = 0;
5  static const int PARAM_POWERY = 1;
6  static const int PARAM_OFFSETX = 2;
7  static const int PARAM_OFFSETY = 3;
8  static const int PARAM_PIXELSCALE = 4;
9 
10 
11  static const int L_0_PAIN_BLUR = 100;
12 
13 
14  override int GetPostProcessEffectID()
15  {
16  return PostProcessEffectType.RadialBlur;
17  }
18 
19  override string GetDefaultMaterialPath()
20  {
21  return "Graphics/Materials/postprocess/radialblur";
22  }
23 
24  override void RegisterMaterialParameters()
25  {
26  RegisterParameterScalarFloat(PARAM_POWERX,"PowerX",0.0,0.0,0.1);
27  RegisterParameterScalarFloat(PARAM_POWERY,"PowerY",0.0,0.0,0.1);
28  RegisterParameterScalarFloat(PARAM_OFFSETX,"OffsetX",0.05,0.0,0.5);
29  RegisterParameterScalarFloat(PARAM_OFFSETY,"OffsetY",0.05,0.0,0.5);
30  RegisterParameterScalarFloat(PARAM_PIXELSCALE,"PixelScale",0.5,0.125,1.0);
31  }
32 }
PostProcessEffectType
PostProcessEffectType
Post-process effect type.
Definition: enworld.c:71
PPEClassBase
Created once, on manager init. Script-side representation of C++ material class, separate handling.
Definition: ppematclassesbase.c:2
PPERadialBlur
RadialBlur - PostProcessEffectType.RadialBlur.
Definition: pperadialblur.c:2