Class GdxRenderer3D


  • public class GdxRenderer3D
    extends org.oscim.renderer.LayerRenderer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      MapCamera cam  
      com.badlogic.gdx.utils.Array<com.badlogic.gdx.graphics.g3d.ModelInstance> instances  
      com.badlogic.gdx.graphics.g3d.Environment lights  
      com.badlogic.gdx.graphics.g3d.Model model  
      com.badlogic.gdx.graphics.g3d.utils.RenderContext renderContext  
      com.badlogic.gdx.graphics.g3d.Shader shader  
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void render​(org.oscim.renderer.GLViewport v)  
      boolean setup()  
      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 Detail

      • 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 Detail

      • GdxRenderer3D

        public GdxRenderer3D​(org.oscim.map.Map map)
    • Method Detail

      • 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