Package gaiasky.util
Class GlobalConf
java.lang.Object
gaiasky.util.GlobalConf
Holds the global configuration options
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classHolds all configuration values related to data.static classHolds the configuration for the output frame subsystem and the camera recording.static interfacestatic classstatic classstatic classstatic classstatic classRuntime configuration values, which are never persisted.static classContains preferences and attributes which define the scenestatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic List<GlobalConf.IConf>static GlobalConf.ControlsConfstatic GlobalConf.DataConfstatic Stringstatic GlobalConf.FrameConfstatic Stringstatic GlobalConf.PerformanceConfstatic GlobalConf.PostprocessConfstatic GlobalConf.ProgramConfstatic Stringstatic Stringstatic GlobalConf.RuntimeConfstatic GlobalConf.SceneConfstatic GlobalConf.ScreenConfstatic GlobalConf.ScreenshotConfstatic GlobalConf.SpacecraftConfstatic GlobalConf.VersionConfstatic Stringstatic String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringassetsFileStr(String relativeAssetsLoc)static PathassetsPath(String relativeAssetsLoc)static StringgetApplicationTitle(boolean vr)static Stringstatic floatComputes the runtime star point size taking into account cubemap renderingstatic Stringstatic voidinitialize(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
-