Package gaiasky.util
Class GlobalConf
java.lang.Object
gaiasky.util.GlobalConf
Holds the global configuration options
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Holds all configuration values related to data.static class
Holds the configuration for the output frame subsystem and the camera recording.static interface
static class
static class
static class
static class
static class
Runtime configuration values, which are never persisted.static class
Contains preferences and attributes which define the scenestatic class
static class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic String
static String
static String
static String
static String
static String
static String
static String
static String
static List<GlobalConf.IConf>
static GlobalConf.ControlsConf
static GlobalConf.DataConf
static String
static GlobalConf.FrameConf
static String
static GlobalConf.PerformanceConf
static GlobalConf.PostprocessConf
static GlobalConf.ProgramConf
static String
static String
static GlobalConf.RuntimeConf
static GlobalConf.SceneConf
static GlobalConf.ScreenConf
static GlobalConf.ScreenshotConf
static GlobalConf.SpacecraftConf
static GlobalConf.VersionConf
static String
static String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
assetsFileStr(String relativeAssetsLoc)
static Path
assetsPath(String relativeAssetsLoc)
static String
getApplicationTitle(boolean vr)
static String
static float
Computes the runtime star point size taking into account cubemap renderingstatic String
static void
initialize(GlobalConf.VersionConf vc, GlobalConf.ProgramConf pc, GlobalConf.SceneConf sc, GlobalConf.DataConf dc, GlobalConf.RuntimeConf rc, GlobalConf.PostprocessConf ppc, GlobalConf.PerformanceConf pfc, GlobalConf.FrameConf fc, GlobalConf.ScreenConf scrc, GlobalConf.ScreenshotConf shc, GlobalConf.ControlsConf cc, GlobalConf.SpacecraftConf scc)
Initialises the propertiesstatic boolean
-
Field Details
-
ASSETS_LOC
-
APPLICATION_NAME
-
APPLICATION_NAME_TITLE
-
APPLICATION_SHORT_NAME
- See Also:
- Constant Field Values
-
WEBPAGE
- See Also:
- Constant Field Values
-
WEBPAGE_DOWNLOADS
- See Also:
- Constant Field Values
-
DOCUMENTATION
- See Also:
- Constant Field Values
-
REPOSITORY
- See Also:
- Constant Field Values
-
ICON_URL
-
REPO_ISSUES
- See Also:
- Constant Field Values
-
AUTHOR_NAME
- See Also:
- Constant Field Values
-
AUTHOR_NAME_PLAIN
- See Also:
- Constant Field Values
-
AUTHOR_EMAIL
- See Also:
- Constant Field Values
-
AUTHOR_AFFILIATION
- See Also:
- Constant Field Values
-
AUTHOR_AFFILIATION_PLAIN
- See Also:
- Constant Field Values
-
configurations
-
frame
-
screen
-
program
-
data
-
scene
-
runtime
-
screenshot
-
performance
-
postprocess
-
controls
-
spacecraft
-
version
-
-
Constructor Details
-
GlobalConf
public GlobalConf()
-
-
Method Details
-
assetsPath
-
assetsFileStr
-
getApplicationTitle
-
getStarPointSize
public static float getStarPointSize()Computes the runtime star point size taking into account cubemap rendering- Returns:
- The point size in pixels
-
initialized
public static boolean initialized() -
initialize
public static void initialize(GlobalConf.VersionConf vc, GlobalConf.ProgramConf pc, GlobalConf.SceneConf sc, GlobalConf.DataConf dc, GlobalConf.RuntimeConf rc, GlobalConf.PostprocessConf ppc, GlobalConf.PerformanceConf pfc, GlobalConf.FrameConf fc, GlobalConf.ScreenConf scrc, GlobalConf.ScreenshotConf shc, GlobalConf.ControlsConf cc, GlobalConf.SpacecraftConf scc) throws ExceptionInitialises the properties- Throws:
Exception
-
getShortApplicationName
-
getSuperShortApplicationName
-