Bearbeiten

Freigeben über


HandPoseUtils Class

Definition

Utilities for detecting hand poses. useful for systems without native gesture support and for raising your own events based on specific hand pose values.

public ref class HandPoseUtils abstract sealed
public static class HandPoseUtils
type HandPoseUtils = class
Public Class HandPoseUtils
Inheritance
HandPoseUtils

Methods

CalculateIndexPinch(Handedness)
IndexFingerCurl(Handedness)

Returns curl of ranging from 0 to 1. 1 if index finger curled/closer to wrist. 0 if the finger is not curled.

IsIndexGrabbing(Handedness)

Returns true if index finger tip is closer to wrist than index knuckle joint.

IsMiddleGrabbing(Handedness)

Returns true if middle finger tip is closer to wrist than middle knuckle joint.

IsThumbGrabbing(Handedness)

Returns true if middle thumb tip is closer to pinky knuckle than thumb knuckle joint.

MiddleFingerCurl(Handedness)

Returns curl of middle finger ranging from 0 to 1. 1 if index finger curled/closer to wrist. 0 if the finger is not curled.

PinkyFingerCurl(Handedness)

Returns curl of pinky finger ranging from 0 to 1. 1 if pinky finger curled/closer to wrist. 0 if the finger is not curled.

RingFingerCurl(Handedness)

Returns curl of ring finger ranging from 0 to 1. 1 if ring finger curled/closer to wrist. 0 if the finger is not curled.

ThumbFingerCurl(Handedness)

Returns curl of thumb finger ranging from 0 to 1. 1 if thumb finger curled/closer to wrist. 0 if the finger is not curled.

Applies to