DayZ 1.24
Loading...
Searching...
No Matches
PPEMedian.c
Go to the documentation of this file.
1
2//unused/not modifiable from script?
4{
5 static const int PARAM_KERNEL = 0;
6 static const int PARAM_METHOD = 1;
7
8 override int GetPostProcessEffectID()
9 {
10 return PostProcessEffectType.Median;
11 }
12
13 override string GetDefaultMaterialPath()
14 {
15 return "Graphics/Materials/postprocess/median";
16 }
17
19 {
20 RegisterParameterScalarInt(PARAM_KERNEL, "Kernel", 3, 3, 5);
21 RegisterParameterScalarInt(PARAM_METHOD, "Method", 2, 0, 2);
22 }
23}
Created once, on manager init. Script-side representation of C++ material class, separate handling.
void RegisterParameterScalarInt(int idx, string parameter_name, int default_value, int min, int max)
Median - PostProcessEffectType.Median.
Definition PPEMedian.c:4
override void RegisterMaterialParameters()
Definition PPEMedian.c:18
static const int PARAM_KERNEL
Definition PPEMedian.c:5
override int GetPostProcessEffectID()
Definition PPEMedian.c:8
override string GetDefaultMaterialPath()
Definition PPEMedian.c:13
static const int PARAM_METHOD
Definition PPEMedian.c:6
PostProcessEffectType
Post-process effect type.
Definition EnWorld.c:72