Method TryGetVisionOSRotation
TryGetVisionOSRotation(XRHandJoint, out Quaternion)
Gets the pose of the joint, if available, but without the Unity-defined change to the rotation to make the reported rotation cross-platform.
Declaration
public static bool TryGetVisionOSRotation(this XRHandJoint joint, out Quaternion rotation)
Parameters
Type | Name | Description |
---|---|---|
XRHandJoint | joint | The joint this extension method extends. To call this extension
method, write it like
|
Quaternion | rotation | If this method returns true, this will be populated with the Apple-defined rotation for the given joint, but still converted to Unity space. |
Returns
Type | Description |
---|---|
bool | true if successful and the rotation was available, false otherwise. |