VectorRollingStatistics Class
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.
Vector Statistics used in gaze stabilization.
public ref class VectorRollingStatistics
public class VectorRollingStatistics
type VectorRollingStatistics = class
Public Class VectorRollingStatistics
- Inheritance
-
VectorRollingStatistics
Constructors
VectorRollingStatistics() |
Properties
ActualSampleCount |
The number of samples in the current set (may be 0 - maxSamples) |
Average |
The average position. |
CurrentStandardDeviation |
Current standard deviation of the positions of the vectors. |
StandardDeviationDeltaAfterLatestSample |
Difference to standardDeviation when the latest sample was added. |
StandardDeviationsAwayOfLatestSample |
How many standard deviations the latest sample was away. |
Methods
AddSample(Vector3) |
Adds a new sample to the sample list and updates the stats. |
Init(Int32) |
Initialize the rolling stats. |
Reset() |
Resets the stats to zero. |