Class SGRFov

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, ISGR

public class SGRFov extends SGRAbstract implements ISGR
Renders the Gaia Field of View camera mode. Positions two cameras inside gaia, each looking through one of the apertures, and renders them in the same viewport with a CCD texture
  • Constructor Details

    • SGRFov

      public SGRFov()
  • Method Details

    • render

      public void render(SceneGraphRenderer sgr, ICamera camera, double t, int rw, int rh, int tw, int th, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
      Description copied from interface: ISGR
      Renders the scene
      Specified by:
      render in interface ISGR
      Parameters:
      sgr - The scene graph renderer object
      camera - The camera.
      t - The time in seconds since the start
      rw - The width of the buffer
      rh - The height of the buffer
      tw - The final target width, usually of the screen
      th - The final target height, usually of the screen
      fb - The frame buffer, if any
      ppb - The post processing bean
    • resize

      public void resize(int w, int h)
      Description copied from interface: ISGR
      Resizes the assets of this renderer to the given new size
      Specified by:
      resize in interface ISGR
      Parameters:
      w - New width
      h - New height
    • dispose

      public void dispose()
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable