Method UpdateHand
UpdateHand(bool, MetaAimFlags, Pose, float, float, float, float)
Queues update events in the Input System based on the supplied hand. It is not recommended that you call this directly. This will be called for you when appropriate.
Declaration
public void UpdateHand(bool isHandRootTracked, MetaAimFlags aimFlags, Pose aimPose, float pinchIndex, float pinchMiddle, float pinchRing, float pinchLittle)
Parameters
Type | Name | Description |
---|---|---|
bool | isHandRootTracked | Whether the hand root pose is valid. |
MetaAimFlags | aimFlags | The aim flags to update in the Input System. |
Pose | aimPose | The aim pose to update in the Input System. Used if the hand root is tracked. |
float | pinchIndex | The pinch strength for the index finger to update in the Input System. |
float | pinchMiddle | The pinch strength for the middle finger to update in the Input System. |
float | pinchRing | The pinch strength for the ring finger to update in the Input System. |
float | pinchLittle | The pinch strength for the little finger to update in the Input System. |
UpdateHand(MetaAimFlags, Pose, float, float, float, float)
Queues update events in the Input System based on the supplied hand. It is not recommended that you call this directly. This will be called for you when appropriate.
Declaration
[Obsolete("Use the UpdateHand that has an additional first bool parameter for whether the hand is tracked, or the device pose won't update correctly.")]
public void UpdateHand(MetaAimFlags aimFlags, Pose aimPose, float pinchIndex, float pinchMiddle, float pinchRing, float pinchLittle)
Parameters
Type | Name | Description |
---|---|---|
MetaAimFlags | aimFlags | The aim flags to update in the Input System. |
Pose | aimPose | The aim pose to update in the Input System. |
float | pinchIndex | The pinch strength for the index finger to update in the Input System. |
float | pinchMiddle | The pinch strength for the middle finger to update in the Input System. |
float | pinchRing | The pinch strength for the ring finger to update in the Input System. |
float | pinchLittle | The pinch strength for the little finger to update in the Input System. |