com.io7m.jcamera.examples.jogl

## Interface ExampleSphericalSimulationType

- All Known Implementing Classes:
    ExampleSphericalSimulation

      public interface ExampleSphericalSimulationType

  The interface to simulations (with spherical cameras) exposed to JOGL.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `cameraIsEnabled()`
    `void` | `cameraSetEnabled(boolean b)` Enable/disable the camera.
    `JCameraSphericalType` | `getCamera()`
    `float` | `getDeltaTime()`
    `JCameraSphericalInputType` | `getInput()`
    `JCameraSphericalSnapshot` | `integrate()`

- - ### Method Detail

    - #### getInput

          JCameraSphericalInputType getInput()

      Returns:
        The camera input

    - #### getDeltaTime

          float getDeltaTime()

      Returns:
        The simulation delta time

    - #### integrate

          JCameraSphericalSnapshot integrate()

      Returns:
        A new camera snapshot

    - #### cameraIsEnabled

          boolean cameraIsEnabled()

      Returns:
        `true` if the camera is enabled.

    - #### cameraSetEnabled

          void cameraSetEnabled(boolean b)

      Enable/disable the camera.
      Parameters:
        `b` - `true` if the camera should be enabled.

    - #### getCamera

          JCameraSphericalType getCamera()

      Returns:
        The camera

Copyright © 2016 <code@io7m.com> http://io7m.com