public class EnvironmentPluginVR extends AbstractPluginVR
Constructor and Description |
---|
EnvironmentPluginVR() |
Modifier and Type | Method and Description |
---|---|
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) |
contentChanged, environmentChanged, getName, getViewerVR, terrainChanged
public void setViewerVR(ViewerVR vvr)
PluginVR
setViewerVR
in interface PluginVR
setViewerVR
in class AbstractPluginVR
public double getSunHeight()
public JPanel getPanel()
getPanel
in interface PluginVR
getPanel
in class AbstractPluginVR
public void setSunHeight(double angle)
public Color getBackgroundColor()
public void setBackgroundColor(Color color)
public boolean isSkyBoxHidden()
public void setSkyBoxHidden(boolean b)
public String getEnvironment()
public void setEnvironment(String environment)
public void storePreferences(Preferences prefs)
storePreferences
in interface PluginVR
storePreferences
in class AbstractPluginVR
public void restoreDefaults()
restoreDefaults
in interface PluginVR
restoreDefaults
in class AbstractPluginVR
public void restorePreferences(Preferences prefs)
restorePreferences
in interface PluginVR
restorePreferences
in class AbstractPluginVR
public SceneGraphComponent getSkyLightNode()