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 booleanDISPLAY_GUIbooleanDISPLAY_VR_GUIbooleanDRAW_OCTREEWhether octree drawing is active or notbooleanGRAVITATIONAL_WAVESbooleanINPUT_ENABLEDlongMAX_TIME_MSlongMIN_TIME_MSbooleanOPENVRWhether the connection to OpenVR has succeeded and the context has been createdbooleanOVRbooleanREAL_TIMEWhether we use the RealTimeClock or the GlobalClockbooleanRECORD_CAMERAbooleanRECORD_KEYFRAME_CAMERAbooleanRELATIVISTIC_ABERRATIONbooleanTIME_ONbooleanUPDATE_PAUSE -
Constructor Summary
Constructors Constructor Description RuntimeConf() -
Method Summary
Modifier and Type Method Description voidinitialize(boolean dISPLAY_GUI, boolean uPDATE_PAUSE, boolean tIME_ON, boolean iNPUT_ENABLED, boolean rECORD_CAMERA, boolean rEAL_TIME, boolean dRAW_OCTREE)voidnotify(Events event, java.lang.Object... data)voidsetMaxTime(long years)voidtoggleRecord(java.lang.Boolean rec)voidtoggleTimeOn(java.lang.Boolean timeOn)Toggles the timeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
OPENVR
public boolean OPENVRWhether 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_TIMEWhether 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 -
DRAW_OCTREE
public boolean DRAW_OCTREEWhether 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 -
MAX_TIME_MS
public long MAX_TIME_MS -
MIN_TIME_MS
public long MIN_TIME_MS
-
-
Constructor Details
-
RuntimeConf
public RuntimeConf()
-
-
Method Details
-
setMaxTime
public void setMaxTime(long years) -
initialize
public void initialize(boolean dISPLAY_GUI, boolean uPDATE_PAUSE, boolean tIME_ON, boolean iNPUT_ENABLED, boolean rECORD_CAMERA, boolean rEAL_TIME, boolean dRAW_OCTREE) -
notify
-
toggleTimeOn
public void toggleTimeOn(java.lang.Boolean timeOn)Toggles the time -
toggleRecord
public void toggleRecord(java.lang.Boolean rec)
-