Package gaiasky.util
Class Settings.ProgramSettings.ModeCubemapSettings
java.lang.Object
gaiasky.util.SettingsObject
gaiasky.util.Settings.ProgramSettings.ModeCubemapSettings
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,Cloneable
- Enclosing class:
Settings.ProgramSettings
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionboolean
float
int
Fields inherited from class gaiasky.util.SettingsObject
parent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply()
clone()
void
dispose()
boolean
Checks whether we are in fixed fov mode (slave, planetarium, panorama).boolean
Checks whether the program is in orthosphere view mode.boolean
Checks whether the program is in panorama mode.boolean
Checks whether the program is in planetarium mode.protected void
void
setProjection
(String projectionString) protected void
Methods inherited from class gaiasky.util.SettingsObject
isEnabled, setParent
-
Field Details
-
active
public boolean active -
projection
-
faceResolution
public int faceResolution -
planetarium
-
celestialSphereIndexOfRefraction
public float celestialSphereIndexOfRefraction
-
-
Constructor Details
-
ModeCubemapSettings
public ModeCubemapSettings()
-
-
Method Details
-
setProjection
-
isPlanetariumOn
public boolean isPlanetariumOn()Checks whether the program is in planetarium mode.- Returns:
- Whether planetarium mode is on.
-
isPanoramaOn
public boolean isPanoramaOn()Checks whether the program is in panorama mode.- Returns:
- Whether panorama mode is on.
-
isOrthosphereOn
public boolean isOrthosphereOn()Checks whether the program is in orthosphere view mode.- Returns:
- Whether orthosphere view mode is on.
-
isFixedFov
public boolean isFixedFov()Checks whether we are in fixed fov mode (slave, planetarium, panorama).- Returns:
- Whether we are in a fixed-fov mode.
-
clone
- Overrides:
clone
in classSettingsObject
-
setParentRecursive
- Specified by:
setParentRecursive
in classSettingsObject
-
setupListeners
protected void setupListeners()- Specified by:
setupListeners
in classSettingsObject
-
dispose
public void dispose() -
apply
public void apply()
-