DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс PPEGlow

Glow - PostProcessEffectType.Glow. Подробнее...

+ Граф наследования:PPEGlow:

Закрытые члены

override int GetPostProcessEffectID ()
 
override string GetDefaultMaterialPath ()
 
override void RegisterMaterialParameters ()
 
- Закрытые члены унаследованные от 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 const int PARAM_VISIBLEPERCENT = 0
 
static const int PARAM_TARGETBRIGHTNESS = 1
 
static const int PARAM_SPEEDDARKTOBRIGHT = 2
 
static const int PARAM_SPEEDBRIGHTTODARK = 3
 
static const int PARAM_TONEMAPPING = 4
 
static const int PARAM_HDR = 5
 
static const int PARAM_FILMICSHOULDERSTRENGTH = 6
 
static const int PARAM_FILMICLINEARSTRENGTH = 7
 
static const int PARAM_FILMICLINEARANGLE = 8
 
static const int PARAM_FILMICTOESTRENGTH = 9
 
static const int PARAM_FILMICTOENUMERATOR = 10
 
static const int PARAM_FILMICTOEDENUMERATOR = 11
 
static const int PARAM_FILMICEXPOSUREBIAS = 12
 
static const int PARAM_FILMICWHITEPOINT = 13
 
static const int PARAM_BLOOMTHRESHOLD = 14
 
static const int PARAM_BLOOMSTEEPNESS = 15
 
static const int PARAM_BLOOMINTENSITY = 16
 
static const int PARAM_BRIGHTNESS = 17
 
static const int PARAM_CONTRAST = 18
 
static const int PARAM_OFFSET = 19
 
static const int PARAM_OVERLAYFACTOR = 20
 
static const int PARAM_OVERLAYCOLOR = 21
 
static const int PARAM_SATURATION = 22
 
static const int PARAM_COLORIZATIONCOLOR = 23
 
static const int PARAM_DESATURATIONWEIGHTS = 24
 
static const int PARAM_VIGNETTE = 25
 
static const int PARAM_VIGNETTECOLOR = 26
 
static const int PARAM_LENSDISTORT = 27
 
static const int PARAM_MAXCHROMABBERATION = 28
 
static const int PARAM_LENSCENTERX = 29
 
static const int PARAM_LENSCENTERY = 30
 
static const int L_20_HIT = 100
 
static const int L_20_FLASHBANG = 300
 
static const int L_20_SHOCK = 500
 
static const int L_21_SHOCK = 100
 
static const int L_21_HIT = 300
 
static const int L_21_FLASHBANG = 500
 
static const int L_22_BLOODLOSS = 100
 
static const int L_23_GLASSES = 100
 
static const int L_23_TOXIC_TINT = 200
 
static const int L_23_HMP = 300
 
static const int L_23_NVG = 600
 
static const int L_25_MENU = 100
 
static const int L_25_TUNNEL = 300
 
static const int L_25_SHOCK = 500
 
static const int L_25_UNCON = 700
 
static const int L_25_BURLAP = 800
 
static const int L_26_MENU = 100
 
static const int L_26_TUNNEL = 300
 
static const int L_26_SHOCK = 500
 
static const int L_26_UNCON = 700
 
static const int L_26_BURLAP = 800
 
static const int L_27_ADS = 100
 
static const int L_28_ADS = 100
 
static const int L_29_ADS = 100
 
static const int L_30_ADS = 100
 

Дополнительные унаследованные члены

- Закрытые данные унаследованные от 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
 

Подробное описание

Glow - PostProcessEffectType.Glow.

Методы

◆ GetDefaultMaterialPath()

override string GetDefaultMaterialPath ( )
inlineprivate
83 {
84 return "Graphics/Materials/postprocess/glow";
85 }

◆ GetPostProcessEffectID()

override int GetPostProcessEffectID ( )
inlineprivate
78 {
79 return PostProcessEffectType.Glow;
80 }
PostProcessEffectType
Post-process effect type.
Definition EnWorld.c:72

◆ RegisterMaterialParameters()

override void RegisterMaterialParameters ( )
inlineprivate
88 {
89 //HDR
90 RegisterParameterScalarFloat(PARAM_VISIBLEPERCENT,"VisiblePercent",95,1,100);
91 RegisterParameterScalarFloat(PARAM_TARGETBRIGHTNESS,"TargetBrightness",0.3,0.01,1);
92 RegisterParameterScalarFloat(PARAM_SPEEDDARKTOBRIGHT,"SpeedDarkToBright",0.3,0.01,1);
93 RegisterParameterScalarFloat(PARAM_SPEEDBRIGHTTODARK,"SpeedBrightToDark",0.3,0.01,1);
96 //Filmic tonemapping
97 RegisterParameterScalarFloat(PARAM_FILMICSHOULDERSTRENGTH,"FilmicShoulderStrength",0.153,0,1);
98 RegisterParameterScalarFloat(PARAM_FILMICLINEARSTRENGTH,"FilmicLinearStrength",0.357,-1,1);
99 RegisterParameterScalarFloat(PARAM_FILMICLINEARANGLE,"FilmicLinearAngle",0.231,-1,1);
100 RegisterParameterScalarFloat(PARAM_FILMICTOESTRENGTH,"FilmicToeStrength",0.1573,0.001,3);
101 RegisterParameterScalarFloat(PARAM_FILMICTOENUMERATOR,"FilmicToeNumerator",0.011,-1,1);
102 RegisterParameterScalarFloat(PARAM_FILMICTOEDENUMERATOR,"FilmicToeDenumerator",3.75,0.1,20);
103 RegisterParameterScalarFloat(PARAM_FILMICEXPOSUREBIAS,"FilmicExposureBias",4.0,0.1,20);
104 RegisterParameterScalarFloat(PARAM_FILMICWHITEPOINT,"FilmicWhitePoint",1.5,0.1,20);
105 //Bloom
106 RegisterParameterScalarFloat(PARAM_BLOOMTHRESHOLD,"BloomThreshold",0.5,0,1);
107 RegisterParameterScalarFloat(PARAM_BLOOMSTEEPNESS,"BloomSteepness",1,0,10);
109 //Color modificators
110 //color defines
115 RegisterParameterColor(PARAM_OVERLAYCOLOR,"OverlayColor",1,1,1,0);
118 RegisterParameterVector(PARAM_DESATURATIONWEIGHTS,"DesaturationWeights",{0.299,0.587,0.114,0});
119 RegisterParameterScalarFloat(PARAM_VIGNETTE,"Vignette",0,0,2); //C++ maximum is set to 1.0 (Workbench), but the parameter can accept more. 2.0 is a reasonable value
120 RegisterParameterColor(PARAM_VIGNETTECOLOR,"VignetteColor",0,0,0,0);
121 //Distort
123 RegisterParameterScalarFloat(PARAM_MAXCHROMABBERATION,"MaxChromAbberation",0,0,1);
126 }
class PPEMatClassParameterFloat extends PPEMatClassParameterCommandData PPEMatClassParameterFloatSaturation(int mat_idx, int parameter_idx, PPEClassBase parent)
Definition PPEMatClassParameterFloat.c:244
void RegisterParameterScalarInt(int idx, string parameter_name, int default_value, int min, int max)
Definition PPEMatClassesBase.c:67
void RegisterParameterScalarBool(int idx, string parameter_name, bool default_value)
Definition PPEMatClassesBase.c:59
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 ...
Definition PPEMatClassesBase.c:77
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 ...
Definition PPEMatClassesBase.c:102
void RegisterParameterVector(int idx, string parameter_name, array< float > default_values)
Definition PPEMatClassesBase.c:124
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 ...
Definition PPEMatClassesBase.c:87
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 ...
Definition PPEMatClassesBase.c:111
static const int PARAM_FILMICTOENUMERATOR
Definition PPEGlow.c:19
static const int PARAM_VISIBLEPERCENT
Definition PPEGlow.c:9
static const int PARAM_BRIGHTNESS
Definition PPEGlow.c:26
static const int PARAM_COLORIZATIONCOLOR
Definition PPEGlow.c:32
static const int PARAM_FILMICSHOULDERSTRENGTH
Definition PPEGlow.c:15
static const int PARAM_FILMICEXPOSUREBIAS
Definition PPEGlow.c:21
static const int PARAM_FILMICWHITEPOINT
Definition PPEGlow.c:22
static const int PARAM_CONTRAST
Definition PPEGlow.c:27
static const int PARAM_BLOOMTHRESHOLD
Definition PPEGlow.c:23
static const int PARAM_TONEMAPPING
Definition PPEGlow.c:13
static const int PARAM_SATURATION
Definition PPEGlow.c:31
static const int PARAM_BLOOMSTEEPNESS
Definition PPEGlow.c:24
static const int PARAM_FILMICTOESTRENGTH
Definition PPEGlow.c:18
static const int PARAM_DESATURATIONWEIGHTS
Definition PPEGlow.c:33
static const int PARAM_LENSDISTORT
Definition PPEGlow.c:36
static const int PARAM_FILMICLINEARANGLE
Definition PPEGlow.c:17
static const int PARAM_OVERLAYFACTOR
Definition PPEGlow.c:29
static const int PARAM_BLOOMINTENSITY
Definition PPEGlow.c:25
static const int PARAM_MAXCHROMABBERATION
Definition PPEGlow.c:37
static const int PARAM_VIGNETTE
Definition PPEGlow.c:34
static const int PARAM_FILMICLINEARSTRENGTH
Definition PPEGlow.c:16
static const int PARAM_VIGNETTECOLOR
Definition PPEGlow.c:35
static const int PARAM_LENSCENTERX
Definition PPEGlow.c:38
static const int PARAM_FILMICTOEDENUMERATOR
Definition PPEGlow.c:20
static const int PARAM_LENSCENTERY
Definition PPEGlow.c:39
static const int PARAM_OVERLAYCOLOR
Definition PPEGlow.c:30
static const int PARAM_HDR
Definition PPEGlow.c:14
static const int PARAM_SPEEDDARKTOBRIGHT
Definition PPEGlow.c:11
static const int PARAM_OFFSET
Definition PPEGlow.c:28
static const int PARAM_TARGETBRIGHTNESS
Definition PPEGlow.c:10
static const int PARAM_SPEEDBRIGHTTODARK
Definition PPEGlow.c:12
Definition EntityAI.c:95

Перекрестные ссылки PARAM_BLOOMINTENSITY, PARAM_BLOOMSTEEPNESS, PARAM_BLOOMTHRESHOLD, PARAM_BRIGHTNESS, PARAM_COLORIZATIONCOLOR, PARAM_CONTRAST, PARAM_DESATURATIONWEIGHTS, PARAM_FILMICEXPOSUREBIAS, PARAM_FILMICLINEARANGLE, PARAM_FILMICLINEARSTRENGTH, PARAM_FILMICSHOULDERSTRENGTH, PARAM_FILMICTOEDENUMERATOR, PARAM_FILMICTOENUMERATOR, PARAM_FILMICTOESTRENGTH, PARAM_FILMICWHITEPOINT, PARAM_HDR, PARAM_LENSCENTERX, PARAM_LENSCENTERY, PARAM_LENSDISTORT, PARAM_MAXCHROMABBERATION, PARAM_OFFSET, PARAM_OVERLAYCOLOR, PARAM_OVERLAYFACTOR, PARAM_SATURATION, PARAM_SPEEDBRIGHTTODARK, PARAM_SPEEDDARKTOBRIGHT, PARAM_TARGETBRIGHTNESS, PARAM_TONEMAPPING, PARAM_VIGNETTE, PARAM_VIGNETTECOLOR, PARAM_VISIBLEPERCENT, PPEMatClassParameterFloatSaturation(), PPEClassBase::RegisterParameterColor(), PPEClassBase::RegisterParameterColorEx(), PPEClassBase::RegisterParameterScalarBool(), PPEClassBase::RegisterParameterScalarFloat(), PPEClassBase::RegisterParameterScalarFloatEx(), PPEClassBase::RegisterParameterScalarInt() и PPEClassBase::RegisterParameterVector().

Поля

◆ L_20_FLASHBANG

const int L_20_FLASHBANG = 300
staticprivate

◆ L_20_HIT

const int L_20_HIT = 100
staticprivate

Используется в PPERequester_GameplayBase::SetHitIntensity().

◆ L_20_SHOCK

const int L_20_SHOCK = 500
staticprivate

Используется в PPERequester_GameplayBase::OnStart().

◆ L_21_FLASHBANG

const int L_21_FLASHBANG = 500
staticprivate

◆ L_21_HIT

const int L_21_HIT = 300
staticprivate

Используется в PPERequester_GameplayBase::SetHitIntensity().

◆ L_21_SHOCK

const int L_21_SHOCK = 100
staticprivate

Используется в PPERequester_GameplayBase::OnStart().

◆ L_22_BLOODLOSS

const int L_22_BLOODLOSS = 100
staticprivate

Используется в PPERequester_GameplayBase::SetBloodLossLevel().

◆ L_23_GLASSES

const int L_23_GLASSES = 100
staticprivate

◆ L_23_HMP

const int L_23_HMP = 300
staticprivate

Используется в PPERequester_GameplayBase::SetEffectProgress().

◆ L_23_NVG

const int L_23_NVG = 600
staticprivate

Используется в PPERequester_GameplayBase::SetNVMode().

◆ L_23_TOXIC_TINT

const int L_23_TOXIC_TINT = 200
staticprivate

Используется в PPERequester_GameplayBase::OnUpdate().

◆ L_25_BURLAP

const int L_25_BURLAP = 800
staticprivate

Используется в PPERequester_GameplayBase::OnStart().

◆ L_25_MENU

const int L_25_MENU = 100
staticprivate

Используется в PPERequester_MenuBase::SetVignetteIntensity().

◆ L_25_SHOCK

const int L_25_SHOCK = 500
staticprivate

Используется в PPERequester_GameplayBase::OnStart().

◆ L_25_TUNNEL

const int L_25_TUNNEL = 300
staticprivate

Используется в PPERequester_GameplayBase::OnStart().

◆ L_25_UNCON

const int L_25_UNCON = 700
staticprivate

Используется в PPERequester_GameplayBase::OnStart().

◆ L_26_BURLAP

const int L_26_BURLAP = 800
staticprivate

Используется в PPERequester_GameplayBase::OnStart().

◆ L_26_MENU

const int L_26_MENU = 100
staticprivate

Используется в PPERequester_MenuBase::SetVignetteIntensity().

◆ L_26_SHOCK

const int L_26_SHOCK = 500
staticprivate

◆ L_26_TUNNEL

const int L_26_TUNNEL = 300
staticprivate

Используется в PPERequester_GameplayBase::OnStart().

◆ L_26_UNCON

const int L_26_UNCON = 700
staticprivate

Используется в PPERequester_GameplayBase::OnStart().

◆ L_27_ADS

const int L_27_ADS = 100
staticprivate

Используется в PPERequester_GameplayBase::SetValuesOptics().

◆ L_28_ADS

const int L_28_ADS = 100
staticprivate

Используется в PPERequester_GameplayBase::SetValuesOptics().

◆ L_29_ADS

const int L_29_ADS = 100
staticprivate

Используется в PPERequester_GameplayBase::SetValuesOptics().

◆ L_30_ADS

const int L_30_ADS = 100
staticprivate

Используется в PPERequester_GameplayBase::SetValuesOptics().

◆ PARAM_BLOOMINTENSITY

const int PARAM_BLOOMINTENSITY = 16
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_BLOOMSTEEPNESS

const int PARAM_BLOOMSTEEPNESS = 15
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_BLOOMTHRESHOLD

const int PARAM_BLOOMTHRESHOLD = 14
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_BRIGHTNESS

const int PARAM_BRIGHTNESS = 17
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_COLORIZATIONCOLOR

◆ PARAM_CONTRAST

const int PARAM_CONTRAST = 18
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_DESATURATIONWEIGHTS

const int PARAM_DESATURATIONWEIGHTS = 24
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_FILMICEXPOSUREBIAS

const int PARAM_FILMICEXPOSUREBIAS = 12
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_FILMICLINEARANGLE

const int PARAM_FILMICLINEARANGLE = 8
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_FILMICLINEARSTRENGTH

const int PARAM_FILMICLINEARSTRENGTH = 7
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_FILMICSHOULDERSTRENGTH

const int PARAM_FILMICSHOULDERSTRENGTH = 6
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_FILMICTOEDENUMERATOR

const int PARAM_FILMICTOEDENUMERATOR = 11
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_FILMICTOENUMERATOR

const int PARAM_FILMICTOENUMERATOR = 10
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_FILMICTOESTRENGTH

const int PARAM_FILMICTOESTRENGTH = 9
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_FILMICWHITEPOINT

const int PARAM_FILMICWHITEPOINT = 13
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_HDR

const int PARAM_HDR = 5
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_LENSCENTERX

◆ PARAM_LENSCENTERY

◆ PARAM_LENSDISTORT

◆ PARAM_MAXCHROMABBERATION

◆ PARAM_OFFSET

const int PARAM_OFFSET = 19
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_OVERLAYCOLOR

◆ PARAM_OVERLAYFACTOR

◆ PARAM_SATURATION

◆ PARAM_SPEEDBRIGHTTODARK

const int PARAM_SPEEDBRIGHTTODARK = 3
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_SPEEDDARKTOBRIGHT

const int PARAM_SPEEDDARKTOBRIGHT = 2
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_TARGETBRIGHTNESS

const int PARAM_TARGETBRIGHTNESS = 1
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_TONEMAPPING

const int PARAM_TONEMAPPING = 4
staticprivate

Используется в RegisterMaterialParameters().

◆ PARAM_VIGNETTE

◆ PARAM_VIGNETTECOLOR

◆ PARAM_VISIBLEPERCENT

const int PARAM_VISIBLEPERCENT = 0
staticprivate

Используется в RegisterMaterialParameters().


Объявления и описания членов класса находятся в файле: