Share via


KinectPointerPointProperties.PressExtent Property

Gets a normalized Z value for a pressing gesture.

Syntax

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

Property value

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

Type: float32
Type: float
Type: Number

 

>A normalized Z value for a 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

KinectPointerPointProperties Class
WindowsPreview.Kinect.Input Namespace