Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_HideHUDManualCameraComponent.c
Go to the documentation of this file.
1
2
4[BaseContainerProps(), SCR_BaseManualCameraComponentTitle()]
6{
7 [Attribute("", UIWidgets.Flags, enums: ParamEnumArray.FromEnum(EHudLayers))]
8 private EHudLayers m_LayersWhitelist;
9
10 //------------------------------------------------------------------------------------------------
11 override bool EOnCameraInit()
12 {
14 if (!hudManager) return false;
15
16 hudManager.SetVisibleLayers(m_LayersWhitelist);
17 return false;
18 }
19
20 //------------------------------------------------------------------------------------------------
21 override void EOnCameraExit()
22 {
24 if (!hudManager) return;
25
26 hudManager.SetVisibleLayers();
27 }
28}
ArmaReforgerScripted GetGame()
Definition game.c:1398
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Parent class from which all SCR_ManualCamera components inherit.
void EOnCameraExit()
Terminate the component.
void SetVisibleLayers(EHudLayers layers=-1)
static SCR_HUDManagerComponent GetHUDManager()
Hide player HUD when the camera is active.
SCR_FieldOfViewSettings Attribute