Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
pperotblur.c
Go to the documentation of this file.
3 {
4  static const int PARAM_POWER = 0;
5  static const int PARAM_MINANGLEPERSEC = 1;
6  static const int PARAM_MAXANGLEPERSEC = 2;
7  static const int PARAM_MINDEPTH = 3;
8  static const int PARAM_MAXDEPTH = 4;
9 
10  override int GetPostProcessEffectID()
11  {
12  return PostProcessEffectType.RotBlur;
13  }
14 
15  override string GetDefaultMaterialPath()
16  {
17  return "Graphics/Materials/postprocess/rotblur";
18  }
19 
20  override void RegisterMaterialParameters()
21  {
22  RegisterParameterScalarFloat(PARAM_POWER,"Power",0.0,0.0,0.09);
23  RegisterParameterScalarFloat(PARAM_MINANGLEPERSEC,"MinAnglePerSec",10.0,0.0,180.0);
24  RegisterParameterScalarFloat(PARAM_MAXANGLEPERSEC,"MaxAnglePerSec",100.0,0.0,180.0);
25  RegisterParameterScalarFloat(PARAM_MINDEPTH,"MinDepth",2.5,0.0,5.0);
26  RegisterParameterScalarFloat(PARAM_MAXDEPTH,"MaxDepth",4.5,0.0,50.0);
27  }
28 }
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
PPERotBlur
Rotation Blur.
Definition: pperotblur.c:2