Class WaterExample

java.lang.Object
com.ardor3d.example.ExampleBase
com.ardor3d.example.effect.WaterExample
All Implemented Interfaces:
Scene, Updater, Runnable

public class WaterExample extends ExampleBase
A demonstration of the WaterNode class; which handles rendering of a water effect on all of it's children.
  • Constructor Details

    • WaterExample

      public WaterExample()
  • Method Details

    • main

      public static void main(String[] args)
      The main method.
      Parameters:
      args - the args
    • updateExample

      protected void updateExample(ReadOnlyTimer timer)
      Update skybox location and waterQuad position.
      Overrides:
      updateExample in class ExampleBase
      Parameters:
      timer - the timer
    • renderExample

      protected void renderExample(Renderer renderer)
      Render example.
      Overrides:
      renderExample in class ExampleBase
      Parameters:
      renderer - the renderer
    • initExample

      protected void initExample()
      Initialize water node and scene.
      Specified by:
      initExample in class ExampleBase