Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
pperpain.c
Go to the documentation of this file.
1
class
PPERequester_PainBlur
extends
PPERequester_GameplayBase
2
{
3
void
SetRadialBlur(
float
power_x,
float
power_y,
float
offset_x,
float
offset_y,
float
pixel_scale = 0.5 )
4
{
5
SetTargetValueFloat
(
PostProcessEffectType
.RadialBlur,
PPERadialBlur
.PARAM_POWERX,
false
,power_x,
PPERadialBlur
.L_0_PAIN_BLUR ,
PPOperators
.SET);
6
SetTargetValueFloat
(
PostProcessEffectType
.RadialBlur,
PPERadialBlur
.PARAM_POWERY,
false
,power_y,
PPERadialBlur
.L_0_PAIN_BLUR,
PPOperators
.SET);
7
SetTargetValueFloat
(
PostProcessEffectType
.RadialBlur,
PPERadialBlur
.PARAM_OFFSETX,
false
,offset_x,
PPERadialBlur
.L_0_PAIN_BLUR,
PPOperators
.SET);
8
SetTargetValueFloat
(
PostProcessEffectType
.RadialBlur,
PPERadialBlur
.PARAM_OFFSETY,
false
,offset_y,
PPERadialBlur
.L_0_PAIN_BLUR,
PPOperators
.SET);
9
SetTargetValueFloat
(
PostProcessEffectType
.RadialBlur,
PPERadialBlur
.PARAM_PIXELSCALE,
false
,pixel_scale,
PPERadialBlur
.L_0_PAIN_BLUR ,
PPOperators
.SET);
10
}
11
}
PostProcessEffectType
PostProcessEffectType
Post-process effect type.
Definition:
enworld.c:71
PPERequester_GameplayBase
base, not to be used directly, would lead to layering collisions!
Definition:
pperbloodloss.c:1
SetTargetValueFloat
protected void SetTargetValueFloat(int mat_id, int param_idx, bool relative, float val, int priority_layer, int operator=PPOperators.ADD_RELATIVE)
Definition:
pperequestplatformsbase.c:153
PPOperators
PPOperators
PP operators, specify operation between subsequent layers.
Definition:
ppeconstants.c:51
PPERadialBlur
RadialBlur - PostProcessEffectType.RadialBlur.
Definition:
pperadialblur.c:2
DAYZ
scripts_v1.24.157551
scripts
game
ppemanager
requesters
pperpain.c
Generated by
1.8.17