PointerPredictor.GetPredictedPoints(PointerPoint) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定 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()
參數
- point
- PointerPoint
目前預測點的基礎點。
傳回
一組預測點及其相關性質。
預測引擎必須處理至少 10 個輸入點,才能回傳一組預測輸入點。 否則會回傳一個空集合。
備註
預測的 PointerPoint 屬性包括 時間戳、 位置、 壓力、 XTilt 和 YTilt。 其他所有屬性皆由指定 PointerPoint 複製而來。
回傳的點數取決於 預測時間(PredictionTime )及數位化器報告率。 例如:如果預測時間為 15ms(預設),且指標輸入的報告速率約為 266Hz,預測器會預測 4 個點。 如果報告速率約為 133Hz,預測器會預測兩個點。