Class OSVRMouseManager

java.lang.Object
com.jme3.input.vr.AbstractVRMouseManager
com.jme3.input.vr.osvr.OSVRMouseManager
All Implemented Interfaces:
VRMouseManager

public class OSVRMouseManager extends AbstractVRMouseManager
A class dedicated to the mouse handling within OSVR based VR experience.
  • Constructor Details

    • OSVRMouseManager

      public OSVRMouseManager(VREnvironment environment)
      Create a new VR mouse manager within the given VR environment.
      Parameters:
      environment - the VR environment of the mouse manager.
  • Method Details

    • updateAnalogAsMouse

      public void updateAnalogAsMouse(int inputIndex, AnalogListener mouseListener, String mouseXName, String mouseYName, float tpf)
      Description copied from interface: VRMouseManager
      Update analog controller as it was a mouse controller.
      Parameters:
      inputIndex - the index of the controller attached to the VR system.
      mouseListener - the JMonkey mouse listener to trigger.
      mouseXName - the mouseX identifier.
      mouseYName - the mouseY identifier
      tpf - the time per frame.