Dela via


PerceptionTimestamp.PredictionAmount Property

Definition

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.

Applies to