Class GdxRenderer3D

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

public class GdxRenderer3D extends org.oscim.renderer.LayerRenderer
  • 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
     
    com.badlogic.gdx.graphics.g3d.Model
     
    com.badlogic.gdx.graphics.g3d.utils.RenderContext
     
    com.badlogic.gdx.graphics.g3d.Shader
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    GdxRenderer3D(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
    • shader

      public com.badlogic.gdx.graphics.g3d.Shader shader
    • renderContext

      public com.badlogic.gdx.graphics.g3d.utils.RenderContext renderContext
    • model

      public com.badlogic.gdx.graphics.g3d.Model model
  • Constructor Details

    • GdxRenderer3D

      public GdxRenderer3D(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