Class World3D

java.lang.Object
nl.colorize.multimedialib.stage.World3D
All Implemented Interfaces:
Updatable

public class World3D extends Object implements Updatable
Access to all 3D graphicson the stage, only avalailable when using a renderer that supports 3D graphics. If both 2D and 3D graphics are used, the 3D graphics will appear "below" all 2D graphics.
  • Constructor Details

    • World3D

      protected World3D()
  • Method Details

    • update

      public void update(float deltaTime)
      Description copied from interface: Updatable
      Updates this object for the current frame. deltaTime indicates the elapsed time since the last frame update, in seconds.
      Specified by:
      update in interface Updatable
    • clear

      public void clear()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCameraPosition

      public Point3D getCameraPosition()
    • getCameraTarget

      public Point3D getCameraTarget()
    • getAmbientLight

      public ColorRGB getAmbientLight()
    • getLightColor

      public ColorRGB getLightColor()
    • getLightPosition

      public Point3D getLightPosition()
    • getChildren

      public List<PolygonModel> getChildren()
    • setCameraPosition

      public void setCameraPosition(Point3D cameraPosition)
    • setCameraTarget

      public void setCameraTarget(Point3D cameraTarget)
    • setAmbientLight

      public void setAmbientLight(ColorRGB ambientLight)
    • setLightColor

      public void setLightColor(ColorRGB lightColor)
    • setLightPosition

      public void setLightPosition(Point3D lightPosition)