DayZ 1.24
Loading...
Searching...
No Matches
PPEChromAber.c
Go to the documentation of this file.
1
3{
4 static const int PARAM_POWERX = 0;
5 static const int PARAM_POWERY = 1;
6
7 static const int L_0_INTRO = 100;
8 static const int L_1_INTRO = 100;
9
11 {
12 return PostProcessEffectType.ChromAber;
13 }
14
15 override string GetDefaultMaterialPath()
16 {
17 return "Graphics/Materials/postprocess/chromaber";
18 }
19
21 {
22 RegisterParameterScalarFloat(PARAM_POWERX, "PowerX", 0.0, 0.0, 0.05);
23 RegisterParameterScalarFloat(PARAM_POWERY, "PowerY", 0.0, 0.0, 0.05);
24 }
25}
ChromAber - PostProcessEffectType.ChromAber.
Definition PPEChromAber.c:3
static const int PARAM_POWERY
Definition PPEChromAber.c:5
override int GetPostProcessEffectID()
static const int L_0_INTRO
Definition PPEChromAber.c:7
static const int PARAM_POWERX
Definition PPEChromAber.c:4
static const int L_1_INTRO
Definition PPEChromAber.c:8
override void RegisterMaterialParameters()
override string GetDefaultMaterialPath()
Created once, on manager init. Script-side representation of C++ material class, separate handling.
void RegisterParameterScalarFloat(int idx, string parameter_name, float default_value, float min, float max)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
PostProcessEffectType
Post-process effect type.
Definition EnWorld.c:72