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.

Properties

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

Constructors & Destructors

void StripIrrelevant
( ref HandFingerFlags fingerFlags )
GrabbingRule
( HandFingerFlags mask,
in GrabbingRule otherRule )