Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
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")]
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);
19 }
20
21 override void OnInit(World world)
22 {
23 actualWorld = world;
24 }
25
26}
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition World.c:16
SCR_FieldOfViewSettings Attribute
PostProcessEffectType
Definition EnWorld.c:20