Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditorCursorManualCameraComponent.c
Go to the documentation of this file.
1
2
4[BaseContainerProps(), SCR_BaseManualCameraComponentTitle()]
6{
9
10 //------------------------------------------------------------------------------------------------
12 {
13 if (!m_MouseArea)
14 return;
15
16 param.isCursorEnabled = m_MouseArea.IsMouseOn() || !m_MenuManager.IsVisible();
17 }
18
19 //------------------------------------------------------------------------------------------------
20 override bool EOnCameraInit()
21 {
23 if (!m_MenuManager)
24 return false;
25
26 EditorMenuBase menu = m_MenuManager.GetMenu();
27 if (!menu)
28 return false;
29
30 MenuRootComponent root = menu.GetRootComponent();
31 if (!root)
32 return false;
33
35 return m_MouseArea != null;
36 }
37}
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
MenuRootSubComponent FindComponent(typename type, bool showError=false)
Parent class from which all SCR_ManualCamera components inherit.
Check if cursor is not on top of another widget.
override void EOnCameraFrame(SCR_ManualCameraParam param)
Parameter for carrying information between individual camera components.