Share via


PointerPredictor.GetPredictedPoints(PointerPoint) Method

Definition

Retrieves a collection of predicted points for the specified PointerPoint.

public:
 virtual Platform::Array <PointerPoint ^> ^ GetPredictedPoints(PointerPoint ^ point) = GetPredictedPoints;
winrt::array_view <PointerPoint const&> GetPredictedPoints(PointerPoint const& point);
public PointerPoint[] GetPredictedPoints(PointerPoint point);
function getPredictedPoints(point)
Public Function GetPredictedPoints (point As PointerPoint) As PointerPoint()

Parameters

point
PointerPoint

The current point from which to base the predicted points.

Returns

A collection of predicted points and associated properties.

The prediction engine must process at least 10 input points before returning a collection of predicted input points. Otherwise it returns an empty collection.

Remarks

Predicted PointerPoint properties are Timestamp, Position, Pressure, XTilt, and YTilt. All other properties are cloned from the PointerPoint specified.

The number of points returned depends on the PredictionTime and the reporting rate of the digitizer. For example: if the prediction time is 15ms (default) and the report rate of a pointer input is around 266Hz, the predictor will predict 4 points. If the report rate is around 133Hz, the predictor will predict 2 points.

Applies to