Method SetPose
SetPose(ref XRHandJoint, Pose)
Sets the pose that can be retrieved from TryGetPose(out Pose) and sets the flag for that pose to be valid.
Declaration
public static void SetPose(this ref XRHandJoint joint, Pose pose)
Parameters
| Type | Name | Description |
|---|---|---|
| XRHandJoint | joint | The invoking joint for this extension method. To call this method,
call |
| Pose | pose | The Pose to set for the |
Remarks
After manipulating data for a particular joint, be sure to assign it back to the array you got it from, as you can only manipulate copies of objects from a NativeArray.