Class GdxRenderer3D2

java.lang.Object
org.oscim.renderer.LayerRenderer
org.oscim.gdx.poi3d.GdxRenderer3D2

public class GdxRenderer3D2 extends org.oscim.renderer.LayerRenderer
Gdx renderer for more complex 3D models.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.ModelInstance>
     
    com.badlogic.gdx.graphics.g3d.Environment
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GdxRenderer3D2(org.oscim.map.Map map)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(org.oscim.renderer.GLViewport v)
     
    boolean
     
    void
    update(org.oscim.renderer.GLViewport v)
     

    Methods inherited from class org.oscim.renderer.LayerRenderer

    isReady, setReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • cam

      public MapCamera cam
    • lights

      public com.badlogic.gdx.graphics.g3d.Environment lights
    • instances

      public com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.ModelInstance> instances
  • Constructor Details

    • GdxRenderer3D2

      public GdxRenderer3D2(org.oscim.map.Map map)
  • Method Details

    • setup

      public boolean setup()
      Overrides:
      setup in class org.oscim.renderer.LayerRenderer
    • update

      public void update(org.oscim.renderer.GLViewport v)
      Specified by:
      update in class org.oscim.renderer.LayerRenderer
    • render

      public void render(org.oscim.renderer.GLViewport v)
      Specified by:
      render in class org.oscim.renderer.LayerRenderer