Class LWJGLOpenVRMouseManager

java.lang.Object
com.jme3.input.vr.AbstractVRMouseManager
com.jme3.input.vr.lwjgl_openvr.LWJGLOpenVRMouseManager
All Implemented Interfaces:
VRMouseManager

public class LWJGLOpenVRMouseManager extends AbstractVRMouseManager
A class dedicated to the handling of the mouse within VR environment.
  • Constructor Details

    • LWJGLOpenVRMouseManager

      public LWJGLOpenVRMouseManager(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.