Method ConformanceAutomationSetActive
ConformanceAutomationSetActive(string, string, bool)
Drive the xrSetInputDeviceActiveEXT 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 ConformanceAutomationSetActive(string interactionProfile, string topLevelPath, bool isActive)
Parameters
Type | Name | Description |
---|---|---|
string | interactionProfile | An OpenXRPath that specifies the OpenXR Interaction Profile of the value to be changed (e.g. /interaction_profiles/khr/simple_controller). |
string | topLevelPath | An OpenXRPath that specifies the OpenXR User Path of the value to be changed (e.g. /user/hand/left). |
bool | isActive | A boolean 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. |