Class MapCamera


  • public class MapCamera
    extends com.badlogic.gdx.graphics.Camera
    • Field Summary

      • Fields inherited from class com.badlogic.gdx.graphics.Camera

        combined, direction, far, frustum, invProjectionView, near, position, projection, up, view, viewportHeight, viewportWidth
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setMapPosition​(double x, double y, double scale)  
      void setPosition​(org.oscim.core.MapPosition pos)  
      void update()  
      void update​(boolean updateFrustum)  
      void update​(org.oscim.renderer.GLViewport v)  
      • Methods inherited from class com.badlogic.gdx.graphics.Camera

        getPickRay, getPickRay, lookAt, lookAt, normalizeUp, project, project, rotate, rotate, rotate, rotate, rotateAround, transform, translate, translate, unproject, unproject
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapCamera

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

      • setPosition

        public void setPosition​(org.oscim.core.MapPosition pos)
      • setMapPosition

        public void setMapPosition​(double x,
                                   double y,
                                   double scale)
      • update

        public void update​(org.oscim.renderer.GLViewport v)
      • update

        public void update()
        Specified by:
        update in class com.badlogic.gdx.graphics.Camera
      • update

        public void update​(boolean updateFrustum)
        Specified by:
        update in class com.badlogic.gdx.graphics.Camera