DayZ 1.24
Loading...
Searching...
No Matches
PPEWetDistort Class Reference

WetDistort - PostProcessEffectType.WetDistort. More...

Inheritance diagram for PPEWetDistort:
[legend]
Collaboration diagram for PPEWetDistort:
[legend]

Private Member Functions

override int GetPostProcessEffectID ()
 
override string GetDefaultMaterialPath ()
 
override void RegisterMaterialParameters ()
 
- Private Member Functions inherited from PPEClassBase
void PPEClassBase (string mat_path_override="")
 
void Init (string mat_path_override="")
 
void CreateMaterial ()
 
Material GetMaterial ()
 
void CreateDataStructure ()
 
void RegisterMaterialParameters ()
 inserted into associative array by parameter int value, parameter registration order does not matter (still ordered, though)
 
void RegisterParameterScalarBool (int idx, string parameter_name, bool default_value)
 
void RegisterParameterScalarInt (int idx, string parameter_name, int default_value, int min, int max)
 
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 the renderer can handle! When in doubt, try some higher/lower values...
 
void RegisterParameterScalarFloatEx (int idx, string parameter_name, float default_value, float min, float max, typename type)
 WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values the renderer can handle! When in doubt, try some higher/lower values...
 
void RegisterParameterColor (int idx, string parameter_name, float r, float g, float b, float a)
 WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values the renderer can handle! When in doubt, try some higher/lower values...
 
void RegisterParameterColorEx (int idx, string parameter_name, float r, float g, float b, float a, typename type)
 WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values the renderer can handle! When in doubt, try some higher/lower values...
 
void RegisterParameterVector (int idx, string parameter_name, array< float > default_values)
 
void RegisterParameterTexture (int idx, string parameter_name, string default_path)
 
void RegisterParameterResource (int idx, string parameter_name, string default_path)
 
void InsertParamValueData (PPERequestParamDataBase request_data)
 Distributes requester data to the material class structure and links them to appropriate parameter.
 
void RemoveRequest (int req_idx)
 unused, see 'RemoveActiveRequestFromMaterials' for more info
 
void OnUpdate (float timeslice, int order)
 generic update method, take care when overriding!
 
void SetFinalParameterValue (int parameter_idx)
 Clamps the values being set to defaults, if there is no request setting non-zero values on the parameter.
 
void ApplyValueChanges ()
 
void InsertUpdatedParameter (int mat_id)
 
void ParamUpdateRemove (int parameter_idx)
 Queue selected parameter for removal from the update queue.
 
void SetParameterUpdating (int order, int parameter_id)
 Queue specific parameter of this material to update.
 
void ParamUpdateQueueCleanup (int order)
 
string GetDefaultMaterialPath ()
 override this if you want to use different path by default; '.emat' is appended automatically
 
void ChangeMaterialPathUsed (string path)
 
string GetCurrentMaterialPath ()
 
int GetPostProcessEffectID ()
 Overriden in all material classes!
 
PPEMatClassParameterCommandData GetParameterCommandData (int parameter_idx)
 Some PP effects are handled as hard-coded exceptions, outside of material system. Default == PPEExceptions.NONE (systemic behaviour)
 
void DbgPrnt (string text)
 

Static Private Attributes

static const int PARAM_BLURPOWER = 0
 
static const int PARAM_LOCALBLURPOWER = 1
 
static const int PARAM_EFFPOWERTOP = 2
 
static const int PARAM_EFFPOWERBOTTOM = 3
 
static const int PARAM_BLURDOWNSIZE = 4
 
static const int PARAM_BLURGAUSS = 5
 
static const int PARAM_WAVSPDX1 = 6
 
static const int PARAM_WAVSPDX2 = 7
 
static const int PARAM_WAVSPDY1 = 8
 
static const int PARAM_WAVSPDY2 = 9
 
static const int PARAM_WAVEAMPX1 = 10
 
static const int PARAM_WAVEAMPX2 = 11
 
static const int PARAM_WAVEAMPY1 = 12
 
static const int PARAM_WAVEAMPY2 = 13
 
static const int PARAM_PHASERANDX = 14
 
static const int PARAM_PHASERANDY = 15
 
static const int PARAM_PHASEPOSX = 16
 
static const int PARAM_PHASEPOSY = 17
 

Additional Inherited Members

- Private Attributes inherited from PPEClassBase
PPEManager m_Manager
 
string m_MaterialPath = ""
 
Material m_Material
 
ref map< int, ref array< int > > m_ParameterUpdateQueueMap
 
ref array< intm_ParameterRemovalQueue
 
ref array< intm_UpdatedParameters
 
ref map< int, ref PPEMatClassParameterCommandDatam_MaterialParamMapStructure
 

Detailed Description

WetDistort - PostProcessEffectType.WetDistort.

Definition at line 2 of file PPEWetDistort.c.

Member Function Documentation

◆ GetDefaultMaterialPath()

override string PPEWetDistort::GetDefaultMaterialPath ( )
inlineprivate

Definition at line 28 of file PPEWetDistort.c.

29 {
30 return "Graphics/Materials/postprocess/wetdistort";
31 }

◆ GetPostProcessEffectID()

override int PPEWetDistort::GetPostProcessEffectID ( )
inlineprivate

Definition at line 23 of file PPEWetDistort.c.

24 {
25 return PostProcessEffectType.WetDistort;
26 }
PostProcessEffectType
Post-process effect type.
Definition EnWorld.c:72

◆ RegisterMaterialParameters()

override void PPEWetDistort::RegisterMaterialParameters ( )
inlineprivate

Definition at line 33 of file PPEWetDistort.c.

34 {
35 RegisterParameterScalarFloat(PARAM_BLURPOWER, "BlurPower", 0.5, 0.0, 1.0);
36 RegisterParameterScalarFloat(PARAM_LOCALBLURPOWER, "LocalBlurPower", 0.4, 0.0, 1.0);
37 RegisterParameterScalarFloat(PARAM_EFFPOWERTOP, "EffectPowerTop", 0.0, 0.0, 1.0);
38 RegisterParameterScalarFloat(PARAM_EFFPOWERBOTTOM, "EffectPowerBottom", 0.0, 0.0, 1.0);
39 RegisterParameterScalarInt(PARAM_BLURDOWNSIZE, "BlurDownSize", 2, 0, 3);
40 RegisterParameterScalarInt(PARAM_BLURGAUSS, "BlurGauss", 1, 1, 4);
41 RegisterParameterScalarFloat(PARAM_WAVSPDX1, "WaveSpeedX1", 4.1, 0.5, 10.0);
42 RegisterParameterScalarFloat(PARAM_WAVSPDX2, "WaveSpeedX2", 3.7, 0.5, 10.0);
43 RegisterParameterScalarFloat(PARAM_WAVSPDY1, "WaveSpeedY1", 2.5, 0.5, 10.0);
44 RegisterParameterScalarFloat(PARAM_WAVSPDY2, "WaveSpeedY2", 1.85, 0.5, 10.0);
45 RegisterParameterScalarFloat(PARAM_WAVEAMPX1, "WaveAmpX1", 0.005, 0.001, 0.02);
46 RegisterParameterScalarFloat(PARAM_WAVEAMPX2, "WaveAmpX2", 0.004, 0.001, 0.02);
47 RegisterParameterScalarFloat(PARAM_WAVEAMPY1, "WaveAmpY1", 0.009, 0.001, 0.02);
48 RegisterParameterScalarFloat(PARAM_WAVEAMPY2, "WaveAmpY2", 0.007, 0.001, 0.02);
49 RegisterParameterScalarFloat(PARAM_PHASERANDX, "PhaseRandX", 0.5, 0.0, 1.0);
50 RegisterParameterScalarFloat(PARAM_PHASERANDY, "PhaseRandY", 0.3, 0.0, 1.0);
51 RegisterParameterScalarFloat(PARAM_PHASEPOSX, "PhasePosX", 10.0, 0.0, 20.0);
52 RegisterParameterScalarFloat(PARAM_PHASEPOSY, "PhasePosY", 6.0, 0.0, 20.0);
53 }
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 ...
void RegisterParameterScalarInt(int idx, string parameter_name, int default_value, int min, int max)
static const int PARAM_LOCALBLURPOWER
static const int PARAM_PHASERANDY
static const int PARAM_EFFPOWERBOTTOM
static const int PARAM_BLURGAUSS
static const int PARAM_WAVEAMPX1
static const int PARAM_WAVSPDX1
static const int PARAM_EFFPOWERTOP
static const int PARAM_WAVSPDX2
static const int PARAM_BLURPOWER
static const int PARAM_BLURDOWNSIZE
static const int PARAM_PHASERANDX
static const int PARAM_PHASEPOSY
static const int PARAM_WAVEAMPY1
static const int PARAM_PHASEPOSX
static const int PARAM_WAVEAMPX2
static const int PARAM_WAVEAMPY2
static const int PARAM_WAVSPDY2
static const int PARAM_WAVSPDY1

References PARAM_BLURDOWNSIZE, PARAM_BLURGAUSS, PARAM_BLURPOWER, PARAM_EFFPOWERBOTTOM, PARAM_EFFPOWERTOP, PARAM_LOCALBLURPOWER, PARAM_PHASEPOSX, PARAM_PHASEPOSY, PARAM_PHASERANDX, PARAM_PHASERANDY, PARAM_WAVEAMPX1, PARAM_WAVEAMPX2, PARAM_WAVEAMPY1, PARAM_WAVEAMPY2, PARAM_WAVSPDX1, PARAM_WAVSPDX2, PARAM_WAVSPDY1, PARAM_WAVSPDY2, PPEClassBase::RegisterParameterScalarFloat(), and PPEClassBase::RegisterParameterScalarInt().

Member Data Documentation

◆ PARAM_BLURDOWNSIZE

const int PPEWetDistort::PARAM_BLURDOWNSIZE = 4
staticprivate

Definition at line 8 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_BLURGAUSS

const int PPEWetDistort::PARAM_BLURGAUSS = 5
staticprivate

Definition at line 9 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_BLURPOWER

const int PPEWetDistort::PARAM_BLURPOWER = 0
staticprivate

Definition at line 4 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_EFFPOWERBOTTOM

const int PPEWetDistort::PARAM_EFFPOWERBOTTOM = 3
staticprivate

Definition at line 7 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_EFFPOWERTOP

const int PPEWetDistort::PARAM_EFFPOWERTOP = 2
staticprivate

Definition at line 6 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_LOCALBLURPOWER

const int PPEWetDistort::PARAM_LOCALBLURPOWER = 1
staticprivate

Definition at line 5 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_PHASEPOSX

const int PPEWetDistort::PARAM_PHASEPOSX = 16
staticprivate

Definition at line 20 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_PHASEPOSY

const int PPEWetDistort::PARAM_PHASEPOSY = 17
staticprivate

Definition at line 21 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_PHASERANDX

const int PPEWetDistort::PARAM_PHASERANDX = 14
staticprivate

Definition at line 18 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_PHASERANDY

const int PPEWetDistort::PARAM_PHASERANDY = 15
staticprivate

Definition at line 19 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_WAVEAMPX1

const int PPEWetDistort::PARAM_WAVEAMPX1 = 10
staticprivate

Definition at line 14 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_WAVEAMPX2

const int PPEWetDistort::PARAM_WAVEAMPX2 = 11
staticprivate

Definition at line 15 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_WAVEAMPY1

const int PPEWetDistort::PARAM_WAVEAMPY1 = 12
staticprivate

Definition at line 16 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_WAVEAMPY2

const int PPEWetDistort::PARAM_WAVEAMPY2 = 13
staticprivate

Definition at line 17 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_WAVSPDX1

const int PPEWetDistort::PARAM_WAVSPDX1 = 6
staticprivate

Definition at line 10 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_WAVSPDX2

const int PPEWetDistort::PARAM_WAVSPDX2 = 7
staticprivate

Definition at line 11 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_WAVSPDY1

const int PPEWetDistort::PARAM_WAVSPDY1 = 8
staticprivate

Definition at line 12 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().

◆ PARAM_WAVSPDY2

const int PPEWetDistort::PARAM_WAVSPDY2 = 9
staticprivate

Definition at line 13 of file PPEWetDistort.c.

Referenced by RegisterMaterialParameters().


The documentation for this class was generated from the following file: