Method ConformanceAutomationSetVelocity
ConformanceAutomationSetVelocity(string, string, bool, Vector3, bool, Vector3)
Set the angular and linear velocity of a pose
Declaration
public static bool ConformanceAutomationSetVelocity(string topLevelPath, string inputSourcePath, bool linearValid, Vector3 linear, bool angularValid, Vector3 angular)
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). |
| bool | linearValid | True if the linear velocity is valid |
| Vector3 | linear | Linear velocity value |
| bool | angularValid | True if the angular velocity is valid |
| Vector3 | angular | Angular velocity value |
Returns
| Type | Description |
|---|---|
| bool |