Class Terrain


@Node public class Terrain extends VRObject
Shared dynamic terrain, work in progress. Saving terrain with hundreds of points changed can easily take a few seconds.
Author:
joe
  • Constructor Details

    • Terrain

      public Terrain()
  • Method Details

    • getDiffuseColor

      public Color getDiffuseColor()
    • getEmissiveColor

      public Color getEmissiveColor()
    • getSpecularColor

      public Color getSpecularColor()
    • getDiffuseTexture

      public String getDiffuseTexture()
    • getChange

      public Terrain.TerrainChange getChange()
      Transient property, used only to propagate changes to other clients
    • getPoints

      public Set<TerrainPoint> getPoints()
    • setDiffuseColor

      public void setDiffuseColor(Color diffuseColor)
    • setEmissiveColor

      public void setEmissiveColor(Color emissiveColor)
    • setSpecularColor

      public void setSpecularColor(Color specularColor)
    • setDiffuseTexture

      public void setDiffuseTexture(String diffuseTexture)
    • setChange

      public void setChange(Terrain.TerrainChange change)
      Transient property, used only to propagate changes to other clients
    • setPoints

      public void setPoints(Set<TerrainPoint> points)
    • toString

      public String toString()
      Overrides:
      toString in class VRObject
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class VRObject
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class VRObject
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VRObject