Share via


PointerPointProperties.YTilt Property

Definition

Gets the plane angle between the X-Z plane and the plane that contains the X axis and the axis of the input device (typically a pen/stylus).

public:
 property float YTilt { float get(); };
float YTilt();
public float YTilt { get; }
var single = pointerPointProperties.yTilt;
Public ReadOnly Property YTilt As Single

Property Value

Single

float

The value is 0.0 when the finger or pen is perpendicular to the digitizer surface, between 0.0 and 90.0 when tilted towards the user, and between 0.0 and -90.0 when tilted away from the user. The default value is 0.0.

Remarks

This property is used in conjunction with XTilt to indicate the tilt away from normal of the input device.

Applies to