API reference
API reference
Select your platform
No SDKs available
No versions available

IHandGrabState Interface

Interface for interactors that allow aligning to an object.
Contains information to drive the HandGrabVisual moving the fingers and wrist.

Properties

bool IsGrabbing[Get]
float FingersStrength[Get]
float WristStrength[Get]
Pose WristToGrabPoseOffset[Get]
HandGrabTarget HandGrabTarget[Get]

Member Functions

Returns a bit mask representing the fingers that are currently grabbing the interactable.
Note that, because the returned value is a bit mask, it should not be checked directly against enum values as it may not appear in the enum at all. Instead, bitwise operations should be used to check for the presence of enum values within the mask: i.e., (mask & <see cref="HandFingerFlags.Thumb"/>) != 0.
Did you find this page helpful?