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

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

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

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

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_NOISE_CHANNEL_WEIGHT = 1
 
static const int PARAM_NOISE_OFFSET_X = 2
 
static const int PARAM_NOISE_OFFSET_Y = 3
 
static const int PARAM_NOISE_SCALE_X = 4
 
static const int PARAM_NOISE_SCALE_Y = 5
 
static const int PARAM_NOISE_REMAP_LO = 6
 
static const int PARAM_NOISE_REMAP_HI = 7
 
static const int PARAM_GHOST_OFFSET_X = 8
 
static const int PARAM_GHOST_OFFSET_Y = 9
 
static const int PARAM_GHOST_SCALE_X = 10
 
static const int PARAM_GHOST_SCALE_Y = 11
 
static const int PARAM_GHOST_COLOR_MOD = 12
 
static const int L_1_HMP = 100
 RGB = per channel multiplication A = overall color curve (0=linear,1=exponential)
 
static const int L_2_HMP = 100
 
static const int L_3_HMP = 100
 
static const int L_4_HMP = 100
 
static const int L_5_HMP = 100
 
static const int L_6_HMP = 100
 
static const int L_7_HMP = 100
 
static const int L_8_HMP = 100
 
static const int L_9_HMP = 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
 

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

Ghost - PostProcessEffectType.Ghost.

Методы

◆ GetDefaultMaterialPath()

override string GetDefaultMaterialPath ( )
inlineprivate
36 {
37 return "Graphics/Materials/postprocess/ghost";
38 }

◆ GetPostProcessEffectID()

override int GetPostProcessEffectID ( )
inlineprivate
31 {
32 return PostProcessEffectType.Ghost;
33 }
PostProcessEffectType
Post-process effect type.
Definition EnWorld.c:72

◆ RegisterMaterialParameters()

override void RegisterMaterialParameters ( )
inlineprivate
41 {
42 //RegisterParameterTexture(PARAM_NOISE_TEX,"NoiseMap","");
43 RegisterParameterColor(PARAM_NOISE_CHANNEL_WEIGHT,"NoiseChannelWeight",0,0,0,0);
44
45 RegisterParameterScalarFloat(PARAM_NOISE_OFFSET_X, "NoiseOffsetX", 0, 0, 1);
46 RegisterParameterScalarFloat(PARAM_NOISE_OFFSET_Y, "NoiseOffsetY", 0, 0, 1);
47 RegisterParameterScalarFloat(PARAM_NOISE_SCALE_X, "NoiseScaleX", 1, 0.0001, 100);
48 RegisterParameterScalarFloat(PARAM_NOISE_SCALE_Y, "NoiseScaleY", 1, 0.0001, 100);
49 RegisterParameterColor(PARAM_NOISE_REMAP_LO,"NoiseRemapLo",0,0,0,0);
50 RegisterParameterColor(PARAM_NOISE_REMAP_HI,"NoiseRemapHi",1,1,1,1);
51
52 RegisterParameterScalarFloat(PARAM_GHOST_OFFSET_X, "GhostOffsetX", 0, -200, 200);
53 RegisterParameterScalarFloat(PARAM_GHOST_OFFSET_Y, "GhostOffsetY", 0, -200, 200);
54 RegisterParameterScalarFloat(PARAM_GHOST_SCALE_X, "GhostScaleX", 1, 0.0001, 1);
55 RegisterParameterScalarFloat(PARAM_GHOST_SCALE_Y, "GhostScaleY", 1, 0.0001, 1);
56 RegisterParameterColor(PARAM_GHOST_COLOR_MOD,"GhostColorMod",1,1,1,0.5);
57
58 }
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
static const int PARAM_GHOST_OFFSET_X
Definition PPEGhost.c:13
static const int PARAM_NOISE_OFFSET_X
Definition PPEGhost.c:6
static const int PARAM_NOISE_OFFSET_Y
Definition PPEGhost.c:7
static const int PARAM_GHOST_SCALE_Y
Definition PPEGhost.c:16
static const int PARAM_NOISE_SCALE_Y
Definition PPEGhost.c:9
static const int PARAM_NOISE_SCALE_X
Definition PPEGhost.c:8
static const int PARAM_GHOST_OFFSET_Y
Definition PPEGhost.c:14
static const int PARAM_GHOST_COLOR_MOD
Definition PPEGhost.c:17
static const int PARAM_NOISE_REMAP_LO
Definition PPEGhost.c:10
static const int PARAM_NOISE_CHANNEL_WEIGHT
Definition PPEGhost.c:5
static const int PARAM_GHOST_SCALE_X
Definition PPEGhost.c:15
static const int PARAM_NOISE_REMAP_HI
Definition PPEGhost.c:11

Перекрестные ссылки PARAM_GHOST_COLOR_MOD, PARAM_GHOST_OFFSET_X, PARAM_GHOST_OFFSET_Y, PARAM_GHOST_SCALE_X, PARAM_GHOST_SCALE_Y, PARAM_NOISE_CHANNEL_WEIGHT, PARAM_NOISE_OFFSET_X, PARAM_NOISE_OFFSET_Y, PARAM_NOISE_REMAP_HI, PARAM_NOISE_REMAP_LO, PARAM_NOISE_SCALE_X, PARAM_NOISE_SCALE_Y, PPEClassBase::RegisterParameterColor() и PPEClassBase::RegisterParameterScalarFloat().

Поля

◆ L_1_HMP

const int L_1_HMP = 100
staticprivate

RGB = per channel multiplication A = overall color curve (0=linear,1=exponential)

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

◆ L_2_HMP

const int L_2_HMP = 100
staticprivate

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

◆ L_3_HMP

const int L_3_HMP = 100
staticprivate

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

◆ L_4_HMP

const int L_4_HMP = 100
staticprivate

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

◆ L_5_HMP

const int L_5_HMP = 100
staticprivate

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

◆ L_6_HMP

const int L_6_HMP = 100
staticprivate

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

◆ L_7_HMP

const int L_7_HMP = 100
staticprivate

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

◆ L_8_HMP

const int L_8_HMP = 100
staticprivate

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

◆ L_9_HMP

const int L_9_HMP = 100
staticprivate

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

◆ PARAM_GHOST_COLOR_MOD

const int PARAM_GHOST_COLOR_MOD = 12
staticprivate

◆ PARAM_GHOST_OFFSET_X

const int PARAM_GHOST_OFFSET_X = 8
staticprivate

◆ PARAM_GHOST_OFFSET_Y

const int PARAM_GHOST_OFFSET_Y = 9
staticprivate

◆ PARAM_GHOST_SCALE_X

const int PARAM_GHOST_SCALE_X = 10
staticprivate

◆ PARAM_GHOST_SCALE_Y

const int PARAM_GHOST_SCALE_Y = 11
staticprivate

◆ PARAM_NOISE_CHANNEL_WEIGHT

const int PARAM_NOISE_CHANNEL_WEIGHT = 1
staticprivate

◆ PARAM_NOISE_OFFSET_X

const int PARAM_NOISE_OFFSET_X = 2
staticprivate

◆ PARAM_NOISE_OFFSET_Y

const int PARAM_NOISE_OFFSET_Y = 3
staticprivate

◆ PARAM_NOISE_REMAP_HI

const int PARAM_NOISE_REMAP_HI = 7
staticprivate

◆ PARAM_NOISE_REMAP_LO

const int PARAM_NOISE_REMAP_LO = 6
staticprivate

◆ PARAM_NOISE_SCALE_X

const int PARAM_NOISE_SCALE_X = 4
staticprivate

◆ PARAM_NOISE_SCALE_Y

const int PARAM_NOISE_SCALE_Y = 5
staticprivate

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