Package gaiasky.util
Class GlobalConf.RuntimeConf
- java.lang.Object
-
- gaiasky.util.GlobalConf.RuntimeConf
-
- All Implemented Interfaces:
IObserver
,GlobalConf.IConf
- Enclosing class:
- GlobalConf
public static class GlobalConf.RuntimeConf extends java.lang.Object implements GlobalConf.IConf, IObserver
Runtime configuration values, which are never persisted.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
DISPLAY_GUI
boolean
DISPLAY_VR_GUI
boolean
DRAW_OCTREE
Whether octree drawing is active or notboolean
GRAVITATIONAL_WAVES
boolean
INPUT_ENABLED
float
LIMIT_MAG_RUNTIME
boolean
OPENVR
Whether the connection to OpenVR has succeeded and the context has been createdboolean
OVR
boolean
REAL_TIME
Whether we use the RealTimeClock or the GlobalClockboolean
RECORD_CAMERA
boolean
RECORD_KEYFRAME_CAMERA
boolean
RELATIVISTIC_ABERRATION
boolean
TIME_ON
boolean
UPDATE_PAUSE
-
Constructor Summary
Constructors Constructor Description RuntimeConf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(boolean dISPLAY_GUI, boolean uPDATE_PAUSE, boolean tIME_ON, boolean iNPUT_ENABLED, boolean rECORD_CAMERA, float lIMIT_MAG_RUNTIME, boolean rEAL_TIME, boolean dRAW_OCTREE)
void
notify(Events event, java.lang.Object... data)
void
toggleRecord(java.lang.Boolean rec)
void
toggleTimeOn(java.lang.Boolean timeOn)
Toggles the time
-
-
-
Field Detail
-
OPENVR
public boolean OPENVR
Whether the connection to OpenVR has succeeded and the context has been created
-
OVR
public boolean OVR
-
DISPLAY_GUI
public boolean DISPLAY_GUI
-
UPDATE_PAUSE
public boolean UPDATE_PAUSE
-
TIME_ON
public boolean TIME_ON
-
REAL_TIME
public boolean REAL_TIME
Whether we use the RealTimeClock or the GlobalClock
-
INPUT_ENABLED
public boolean INPUT_ENABLED
-
RECORD_CAMERA
public boolean RECORD_CAMERA
-
RECORD_KEYFRAME_CAMERA
public boolean RECORD_KEYFRAME_CAMERA
-
LIMIT_MAG_RUNTIME
public float LIMIT_MAG_RUNTIME
-
DRAW_OCTREE
public boolean DRAW_OCTREE
Whether octree drawing is active or not
-
RELATIVISTIC_ABERRATION
public boolean RELATIVISTIC_ABERRATION
-
GRAVITATIONAL_WAVES
public boolean GRAVITATIONAL_WAVES
-
DISPLAY_VR_GUI
public boolean DISPLAY_VR_GUI
-
-
Method Detail
-
initialize
public void initialize(boolean dISPLAY_GUI, boolean uPDATE_PAUSE, boolean tIME_ON, boolean iNPUT_ENABLED, boolean rECORD_CAMERA, float lIMIT_MAG_RUNTIME, boolean rEAL_TIME, boolean dRAW_OCTREE)
-
notify
public void notify(Events event, java.lang.Object... data)
-
toggleTimeOn
public void toggleTimeOn(java.lang.Boolean timeOn)
Toggles the time
-
toggleRecord
public void toggleRecord(java.lang.Boolean rec)
-
-