Class ExampleScene

java.lang.Object
com.ardor3d.example.canvas.ExampleScene
All Implemented Interfaces:
Scene

public final class ExampleScene extends Object implements Scene
The framework should provide a default implementation of a scene, probably with a root node and a stats node, just like today. Probably, controllers don't belong here, but I also don't think they belong in the Node API.
  • Constructor Details

    • ExampleScene

      public ExampleScene()
  • Method Details

    • getRoot

      public Node getRoot()
    • renderUnto

      public boolean renderUnto(Renderer renderer)
      Specified by:
      renderUnto in interface Scene
      Parameters:
      renderer - the renderer
      Returns:
      true if a render occurred and we should swap the buffers.
    • doPick

      public PickResults doPick(Ray3 pickRay)
      Description copied from interface: Scene
      A scene should be able to handle a pick execution as it is the only thing that has a complete picture of the scenegraph(s).
      Specified by:
      doPick in interface Scene
      Parameters:
      pickRay - the pick ray
      Returns:
      the pick results