Class OculusViewManager

java.lang.Object
com.jme3.input.vr.AbstractVRViewManager
com.jme3.input.vr.oculus.OculusViewManager
All Implemented Interfaces:
VRViewManager

public class OculusViewManager extends AbstractVRViewManager
A rendering system for Oculus's LibOVR API.
  • Constructor Details

    • OculusViewManager

      public OculusViewManager(VREnvironment environment)
  • Method Details

    • initialize

      public void initialize()
      Description copied from interface: VRViewManager
      Initialize the VR view manager. This method should be called after the attachment of a VR environment to an application.
    • update

      public void update(float tpf)
      Description copied from interface: VRViewManager
      Update the VR view manager. This method is called by the attached app state and should not be called manually.
      Parameters:
      tpf - the time per frame.
    • render

      public void render()
      Description copied from interface: VRViewManager
      This method contains action to be done during the rendering phase. This method should be called for example from the render method of an app state.
      See Also:
    • postRender

      public void postRender()
      Description copied from interface: VRViewManager
      Send the rendering result as textures to the two eyes. This method should be called after all the rendering operations (for example at the end of the postRender() method of the attached app state.)
      See Also: