Share via


KinectPressingUpdatedEventArgs.PressExtent Property

Gets a normalized Z value for the pressing gesture.

Syntax

public:
property float32 PressExtent {
         float32 get ();
}
public float PressExtent { get; }
var pressExtent = kinectPressingUpdatedEventArgs.pressExtent;

Property value

[C++] 
[C#] 
[JavaScript] 

Type: float32
Type: float
Type: Number

 

A normalized Z value for the pressing gesture.

Remarks

The value of this property is 0.0 when a pressing gesture starts. As the user presses forward, the value increases until it reaches 1.0, which indicates the tappable gesture recognizer has been pressed. The value decreases as the user moves the pointer backwards, although it will not go negative. The value is reset to 0.0 when a pressing gesture on another tappable gesture recognizer begins.

Requirements

Namespace: WindowsPreview.Kinect.Input

Metadata: windowspreview.kinect.winmd

See also

Reference

KinectPressingUpdatedEventArgs Class
WindowsPreview.Kinect.Input Namespace