PerceptionTimestamp.PredictionAmount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
For timestamps about the future, gets the span of time between when the prediction was made and TargetTime.
public:
property TimeSpan PredictionAmount { TimeSpan get(); };
TimeSpan PredictionAmount();
public System.TimeSpan PredictionAmount { get; }
var timeSpan = perceptionTimestamp.predictionAmount;
Public ReadOnly Property PredictionAmount As TimeSpan
Property Value
The prediction duration.
Remarks
When you get an improved prediction (for example, from a newer HolographicFramePrediction, TargetTime will stay the same and PredictionAmount will decrease.
For timestamps about the past, PredictionAmount is always 0, even if the data associated with this timestamp was interpolated between two readings.