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

GrabbingRule Struct

This struct indicates which fingers should be taken in count for performing an interaction (typically a hand-grab).
All required fingers must be in use in order to start the interaction while any of the optional fingers is needed. For finishing the action it support either releasing all fingers or any of them.

Fields

FingerUnselectMode UnselectMode[Get]

Properties

bool SelectsWithOptionals[Get]
FingerRequirement this[HandFinger fingerID][Get]
static GrabbingRule DefaultPalmRule[Get]
static GrabbingRule DefaultPinchRule[Get]
static GrabbingRule FullGrab[Get]

Member Functions

void StripIrrelevant
( ref HandFingerFlags fingerFlags )
GrabbingRule
( HandFingerFlags mask,
in GrabbingRule otherRule )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon