Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
PostprocessCinematicTrack.c
Go to the documentation of this file.
1
[
CinematicTrackAttribute
(name:
"Postprocess cinematic track"
, description:
"Allows you to control camera postprocesses"
)]
2
class
PostprocessCinematicTrack
:
CinematicTrackBase
3
{
4
5
[
Attribute
(defvalue:
"1"
,
desc
:
"Saturation intensity"
)]
6
protected
float
m_fSaturation
;
7
8
protected
static
float
m_fFinalSaturation
;
9
protected
static
bool
s_bEnableSaturation
;
10
protected
const
string
DESATURATION_EMAT
=
"{E6B6158B2C156AB1}UI/Materials/ScreenEffects_ColorPP_Cinematics.emat"
;
11
private
World
actualWorld;
12
13
//------------------------------------------------------------------------------------------------
14
override
void
OnApply(
float
time)
15
{
16
actualWorld.SetCameraPostProcessEffect(actualWorld.GetCurrentCameraId(), 0,
PostProcessEffectType
.Colors,
DESATURATION_EMAT
);
17
m_fFinalSaturation
=
m_fSaturation
;
18
s_bEnableSaturation
=
true
;
19
}
20
21
override
void
OnInit
(
World
world)
22
{
23
actualWorld = world;
24
}
25
26
}
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition
SCR_RespawnBriefingComponent.c:17
CinematicTrackAttribute
Definition
attributes.c:3
CinematicTrackBase
Definition
CinematicTrackBase.c:8
PostprocessCinematicTrack
Definition
PostprocessCinematicTrack.c:3
PostprocessCinematicTrack::m_fSaturation
float m_fSaturation
Definition
PostprocessCinematicTrack.c:6
PostprocessCinematicTrack::s_bEnableSaturation
static bool s_bEnableSaturation
Definition
PostprocessCinematicTrack.c:9
PostprocessCinematicTrack::DESATURATION_EMAT
const string DESATURATION_EMAT
Definition
PostprocessCinematicTrack.c:10
PostprocessCinematicTrack::m_fFinalSaturation
static float m_fFinalSaturation
Definition
PostprocessCinematicTrack.c:8
World
Definition
World.c:16
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
OnInit
@ OnInit
Definition
SndComponentCallbacks.c:17
PostProcessEffectType
PostProcessEffectType
Definition
EnWorld.c:20
scripts
Game
Cinematics
PostprocessCinematicTrack.c
Generated by
1.17.0