Class EXTConformanceAutomation


  • public class EXTConformanceAutomation
    extends java.lang.Object
    The EXT_conformance_automation extension.
    • Field Detail

      • XR_EXT_conformance_automation_SPEC_VERSION

        public static final int XR_EXT_conformance_automation_SPEC_VERSION
        The extension specification version.
        See Also:
        Constant Field Values
      • XR_EXT_CONFORMANCE_AUTOMATION_EXTENSION_NAME

        public static final java.lang.String XR_EXT_CONFORMANCE_AUTOMATION_EXTENSION_NAME
        The extension name.
        See Also:
        Constant Field Values
    • Method Detail

      • xrSetInputDeviceActiveEXT

        public static int xrSetInputDeviceActiveEXT​(XrSession session,
                                                    long interactionProfile,
                                                    long topLevelPath,
                                                    boolean isActive)
        Sets the active state of the input device.
        C Specification
        
         XrResult xrSetInputDeviceActiveEXT(
             XrSession                                   session,
             XrPath                                      interactionProfile,
             XrPath                                      topLevelPath,
             XrBool32                                    isActive);
        Valid Usage
        • session must be a valid session handle.
        • topLevelPath must be a valid top level path.
        Valid Usage (Implicit)
        Return Codes
        On success, this command returns
        On failure, this command returns
        Parameters:
        session - the XrSession to set the input device state in.
        interactionProfile - the path representing the interaction profile of the input device (e.g. pathname:/interaction_profiles/khr/simple_controller).
        topLevelPath - the path representing the input device (e.g. pathname:/user/hand/left).
        isActive - the requested activation state of the input device.
      • xrSetInputDeviceStateBoolEXT

        public static int xrSetInputDeviceStateBoolEXT​(XrSession session,
                                                       long topLevelPath,
                                                       long inputSourcePath,
                                                       boolean state)
        Sets the state of a boolean input source on the input device.
        C Specification
        
         XrResult xrSetInputDeviceStateBoolEXT(
             XrSession                                   session,
             XrPath                                      topLevelPath,
             XrPath                                      inputSourcePath,
             XrBool32                                    state);
        Valid Usage
        • session must be a valid session handle.
        • topLevelPath must be a valid top level path.
        • inputSourcePath must be a valid input source path.
        Valid Usage (Implicit)
        Return Codes
        On success, this command returns
        On failure, this command returns
        Parameters:
        session - the XrSession to set the input device state in.
        topLevelPath - the path representing the input device (e.g. pathname:/user/hand/left).
        inputSourcePath - the full path of the input component for which we wish to set the state for (e.g. pathname:/user/hand/left/input/select/click).
        state - the requested boolean state of the input device.
      • xrSetInputDeviceStateFloatEXT

        public static int xrSetInputDeviceStateFloatEXT​(XrSession session,
                                                        long topLevelPath,
                                                        long inputSourcePath,
                                                        float state)
        Sets the state of a float input source on the input device.
        C Specification
        
         XrResult xrSetInputDeviceStateFloatEXT(
             XrSession                                   session,
             XrPath                                      topLevelPath,
             XrPath                                      inputSourcePath,
             float                                       state);
        Valid Usage
        • session must be a valid session handle.
        • topLevelPath must be a valid top level path.
        • inputSourcePath must be a valid input source path.
        Valid Usage (Implicit)
        Return Codes
        On success, this command returns
        On failure, this command returns
        Parameters:
        session - the XrSession to set the input device state in.
        topLevelPath - the path representing the input device (e.g. pathname:/user/hand/left).
        inputSourcePath - the full path of the input component for which we wish to set the state for (e.g. pathname:/user/hand/left/input/trigger/value).
        state - the requested float state of the input device.
      • nxrSetInputDeviceStateVector2fEXT

        public static int nxrSetInputDeviceStateVector2fEXT​(XrSession session,
                                                            long topLevelPath,
                                                            long inputSourcePath,
                                                            long state)
      • xrSetInputDeviceStateVector2fEXT

        public static int xrSetInputDeviceStateVector2fEXT​(XrSession session,
                                                           long topLevelPath,
                                                           long inputSourcePath,
                                                           XrVector2f state)
        Sets the state of a 2D vector input source on the input device.
        C Specification
        
         XrResult xrSetInputDeviceStateVector2fEXT(
             XrSession                                   session,
             XrPath                                      topLevelPath,
             XrPath                                      inputSourcePath,
             XrVector2f                                  state);
        Valid Usage
        • session must be a valid session handle.
        • topLevelPath must be a valid top level path.
        • inputSourcePath must be a valid input source path.
        Valid Usage (Implicit)
        Return Codes
        On success, this command returns
        On failure, this command returns
        See Also

        XrVector2f

        Parameters:
        session - the XrSession to set the input device state in.
        topLevelPath - the path representing the input device (e.g. pathname:/user/hand/left).
        inputSourcePath - the full path of the input component for which we wish to set the state for (e.g. pathname:/user/hand/left/input/thumbstick).
        state - the requested two-dimensional state of the input device.
      • nxrSetInputDeviceLocationEXT

        public static int nxrSetInputDeviceLocationEXT​(XrSession session,
                                                       long topLevelPath,
                                                       long inputSourcePath,
                                                       XrSpace space,
                                                       long pose)
        Unsafe version of: SetInputDeviceLocationEXT
      • xrSetInputDeviceLocationEXT

        public static int xrSetInputDeviceLocationEXT​(XrSession session,
                                                      long topLevelPath,
                                                      long inputSourcePath,
                                                      XrSpace space,
                                                      XrPosef pose)
        Sets the effective location of a pose input source on the input device.
        C Specification
        
         XrResult xrSetInputDeviceLocationEXT(
             XrSession                                   session,
             XrPath                                      topLevelPath,
             XrPath                                      inputSourcePath,
             XrSpace                                     space,
             XrPosef                                     pose);
        Valid Usage
        • session must be a valid session handle.
        • topLevelPath must be a valid top level path.
        • inputSourcePath must be a valid input source path.
        Valid Usage (Implicit)
        Return Codes
        On success, this command returns
        On failure, this command returns
        See Also

        XrPosef

        Parameters:
        session - the XrSession to set the input device state in.
        topLevelPath - the path representing the input device (e.g. pathname:/user/hand/left).
        inputSourcePath - the full path of the input component for which we wish to set the pose for (e.g. pathname:/user/hand/left/input/grip/pose).
        pose - the requested pose state of the input device.