de.jreality.vr
Class EnvironmentPluginVR

java.lang.Object
  extended by de.jreality.vr.AbstractPluginVR
      extended by de.jreality.vr.EnvironmentPluginVR
All Implemented Interfaces:
PluginVR

public class EnvironmentPluginVR
extends AbstractPluginVR


Constructor Summary
EnvironmentPluginVR()
           
 
Method Summary
 Color getBackgroundColor()
           
 String getEnvironment()
           
 JPanel getPanel()
           
 SceneGraphComponent getSkyLightNode()
           
 double getSunHeight()
           
 boolean isSkyBoxHidden()
           
 void restoreDefaults()
           
 void restorePreferences(Preferences prefs)
           
 void setBackgroundColor(Color color)
           
 void setEnvironment(String environment)
           
 void setSkyBoxHidden(boolean b)
           
 void setSunHeight(double angle)
           
 void setViewerVR(ViewerVR vvr)
          this method is called only once after initialization
 void storePreferences(Preferences prefs)
           
 
Methods inherited from class de.jreality.vr.AbstractPluginVR
contentChanged, environmentChanged, getName, getViewerVR, terrainChanged
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvironmentPluginVR

public EnvironmentPluginVR()
Method Detail

setViewerVR

public void setViewerVR(ViewerVR vvr)
Description copied from interface: PluginVR
this method is called only once after initialization

Specified by:
setViewerVR in interface PluginVR
Overrides:
setViewerVR in class AbstractPluginVR

getSunHeight

public double getSunHeight()

getPanel

public JPanel getPanel()
Specified by:
getPanel in interface PluginVR
Overrides:
getPanel in class AbstractPluginVR

setSunHeight

public void setSunHeight(double angle)

getBackgroundColor

public Color getBackgroundColor()

setBackgroundColor

public void setBackgroundColor(Color color)

isSkyBoxHidden

public boolean isSkyBoxHidden()

setSkyBoxHidden

public void setSkyBoxHidden(boolean b)

getEnvironment

public String getEnvironment()

setEnvironment

public void setEnvironment(String environment)

storePreferences

public void storePreferences(Preferences prefs)
Specified by:
storePreferences in interface PluginVR
Overrides:
storePreferences in class AbstractPluginVR

restoreDefaults

public void restoreDefaults()
Specified by:
restoreDefaults in interface PluginVR
Overrides:
restoreDefaults in class AbstractPluginVR

restorePreferences

public void restorePreferences(Preferences prefs)
Specified by:
restorePreferences in interface PluginVR
Overrides:
restorePreferences in class AbstractPluginVR

getSkyLightNode

public SceneGraphComponent getSkyLightNode()