C# Class HoloToolkit.Unity.VectorRollingStatistics

Afficher le fichier Open project: Microsoft/HoloToolkit-Unity

Méthodes publiques

Свойство Type Description
ActualSampleCount float
Average UnityEngine.Vector3
CurrentStandardDeviation float
StandardDeviationDeltaAfterLatestSample float
StandardDeviationsAwayOfLatestSample float

Méthodes publiques

Méthode Description
AddSample ( Vector3 value ) : void

Adds a new sample to the sample list and updates the stats.

Init ( int sampleCount ) : void

Initialize the rolling stats.

Reset ( ) : void

Resets the stats to zero.

Method Details

AddSample() public méthode

Adds a new sample to the sample list and updates the stats.
public AddSample ( Vector3 value ) : void
value UnityEngine.Vector3 The new sample to add
Résultat void

Init() public méthode

Initialize the rolling stats.
public Init ( int sampleCount ) : void
sampleCount int
Résultat void

Reset() public méthode

Resets the stats to zero.
public Reset ( ) : void
Résultat void

Property Details

ActualSampleCount public_oe property

The number of samples in the current set (may be 0 - maxSamples)
public float ActualSampleCount
Résultat float

Average public_oe property

The average position.
public Vector3,UnityEngine Average
Résultat UnityEngine.Vector3

CurrentStandardDeviation public_oe property

Current standard deviation of the positions of the vectors
public float CurrentStandardDeviation
Résultat float

StandardDeviationDeltaAfterLatestSample public_oe property

Difference to standardDeviation when the latest sample was added.
public float StandardDeviationDeltaAfterLatestSample
Résultat float

StandardDeviationsAwayOfLatestSample public_oe property

How many standard deviations the latest sample was away.
public float StandardDeviationsAwayOfLatestSample
Résultat float