Package org.vrspace.server.obj
Class Terrain
java.lang.Object
org.vrspace.server.obj.Entity
org.vrspace.server.obj.VRObject
org.vrspace.server.obj.Terrain
Shared dynamic terrain, work in progress. Saving terrain with hundreds of
points changed can easily take a few seconds.
- Author:
- joe
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Transient property, used only to propagate changes to other clientsint
hashCode()
void
setChange
(Terrain.TerrainChange change) Transient property, used only to propagate changes to other clientsvoid
setDiffuseColor
(Color diffuseColor) void
setDiffuseTexture
(String diffuseTexture) void
setEmissiveColor
(Color emissiveColor) void
setPoints
(Set<TerrainPoint> points) void
setSpecularColor
(Color specularColor) toString()
Methods inherited from class org.vrspace.server.obj.VRObject
active, addChildren, addListener, getActive, getAnimation, getChildren, getListeners, getMesh, getPermanent, getPosition, getProperties, getRotation, getScale, getScript, getTemporary, getWorld, getWorldId, isActive, isPermanent, isTemporary, notifyListeners, passive, processEvent, removeListener, setActive, setAnimation, setChildren, setListeners, setMesh, setPermanent, setPosition, setProperties, setRotation, setScale, setScript, setTemporary, setWorld, setWorldId
Methods inherited from class org.vrspace.server.obj.Entity
dispose, getId, getObjectId, setId
-
Constructor Details
-
Terrain
public Terrain()
-
-
Method Details
-
getDiffuseColor
-
getEmissiveColor
-
getSpecularColor
-
getDiffuseTexture
-
getChange
Transient property, used only to propagate changes to other clients -
getPoints
-
setDiffuseColor
-
setEmissiveColor
-
setSpecularColor
-
setDiffuseTexture
-
setChange
Transient property, used only to propagate changes to other clients -
setPoints
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-