Package 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

  Modifier and Type
  Method
  Description
  `boolean`
  `cameraIsEnabled()`
  `void`
  `cameraSetEnabled(boolean b)`
  Enable/disable the camera.
  `JCameraSphericalType`
  `getCamera()`
  `double`
  `getDeltaTime()`
  `JCameraSphericalInputType`
  `getInput()`
  `JCameraSphericalSnapshot`
  `integrate()`

- ## Method Details

  - ### getInput

    JCameraSphericalInputType getInput()
    Returns:
      The camera input

  - ### getDeltaTime

    double 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