Method ConformanceAutomationSetFloat
ConformanceAutomationSetFloat(string, string, float)
Drive the xrSetInputDeviceStateFloatEXT 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 ConformanceAutomationSetFloat(string topLevelPath, string inputSourcePath, float state)
Parameters
Type | Name | Description |
---|---|---|
string | topLevelPath |
|
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). |
float | state | A float 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. |