Package org.vrspace.server.dto
Class SceneProperties
java.lang.Object
org.vrspace.server.dto.SceneProperties
Scene properties that determine how far user sees, how often scene is
refreshed, etc. This is a component to be injected, and used as factory when
constructing Scene for every client.
- Author:
- joe
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
double
getRange()
Visibility range, default 2000.double
Resolution describes how far one can go before scene is updated, default 10.int
getSize()
Maximum number of objects in the scene, default 1000.long
Scene is refreshed after this many milliseconds, default 30000.int
hashCode()
void
setRange
(double range) Visibility range, default 2000.void
setResolution
(double resolution) Resolution describes how far one can go before scene is updated, default 10.void
setSize
(int size) Maximum number of objects in the scene, default 1000.void
setTimeout
(long timeout) Scene is refreshed after this many milliseconds, default 30000.toString()
-
Constructor Details
-
SceneProperties
public SceneProperties()
-
-
Method Details
-
newInstance
-
getRange
public double getRange()Visibility range, default 2000. Property: vrspace.scene.range -
getResolution
public double getResolution()Resolution describes how far one can go before scene is updated, default 10. Property: vrspace.scene.resolution -
getSize
public int getSize()Maximum number of objects in the scene, default 1000. Property: vrspace.scene.size -
getTimeout
public long getTimeout()Scene is refreshed after this many milliseconds, default 30000. Property: vrspace.scene.timeout -
setRange
public void setRange(double range) Visibility range, default 2000. Property: vrspace.scene.range -
setResolution
public void setResolution(double resolution) Resolution describes how far one can go before scene is updated, default 10. Property: vrspace.scene.resolution -
setSize
public void setSize(int size) Maximum number of objects in the scene, default 1000. Property: vrspace.scene.size -
setTimeout
public void setTimeout(long timeout) Scene is refreshed after this many milliseconds, default 30000. Property: vrspace.scene.timeout -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-