Method ConformanceAutomationSetPose
ConformanceAutomationSetPose(string, string, Vector3, Quaternion)
Drive the xrSetInputDeviceLocationEXT function of the XR_EXT_conformance_automation. See https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_EXT_conformance_automation
Declaration
public static bool ConformanceAutomationSetPose(string topLevelPath, string inputSourcePath, Vector3 position, Quaternion orientation)
Parameters
| Type | Name | Description |
|---|---|---|
| string | topLevelPath | An OpenXRPath that specifies the OpenXR User Path of the value to be changed (e.g. /user/hand/left). |
| string | inputSourcePath | An OpenXRPath that specifies the full path of the input component whose state you wish to set (e.g. /user/hand/left/input/select/click). |
| Vector3 | position | A Vector3 that specifies the desired state of the target. |
| Quaternion | orientation | A Quaternion that specifies the desired state of the target. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if the state is set successfully, or false if there was an error. |