Share via


SpatialInteractionControllerProperties.TouchpadY Property

Definition

Gets a value between -1.0 and 1.0 representing the vertical position of the user's finger on the touchpad.

public:
 property double TouchpadY { double get(); };
double TouchpadY();
public double TouchpadY { get; }
var double = spatialInteractionControllerProperties.touchpadY;
Public ReadOnly Property TouchpadY As Double

Property Value

Double

double

The touchpad Y value.

Remarks

This value ranges from -1.0 on the bottom to 1.0 on the top, with a center of 0.0.

Inspect IsTouchpadTouched before reading this value to ensure that the user is touching the touchpad.

Applies to