C# Класс HoloToolkit.Unity.VectorRollingStatistics

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ActualSampleCount float
Average UnityEngine.Vector3
CurrentStandardDeviation float
StandardDeviationDeltaAfterLatestSample float
StandardDeviationsAwayOfLatestSample float

Открытые методы

Метод Описание
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.

Описание методов

AddSample() публичный Метод

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
Результат void

Init() публичный Метод

Initialize the rolling stats.
public Init ( int sampleCount ) : void
sampleCount int
Результат void

Reset() публичный Метод

Resets the stats to zero.
public Reset ( ) : void
Результат void

Описание свойств

ActualSampleCount публичное свойство

The number of samples in the current set (may be 0 - maxSamples)
public float ActualSampleCount
Результат float

Average публичное свойство

The average position.
public Vector3,UnityEngine Average
Результат UnityEngine.Vector3

CurrentStandardDeviation публичное свойство

Current standard deviation of the positions of the vectors
public float CurrentStandardDeviation
Результат float

StandardDeviationDeltaAfterLatestSample публичное свойство

Difference to standardDeviation when the latest sample was added.
public float StandardDeviationDeltaAfterLatestSample
Результат float

StandardDeviationsAwayOfLatestSample публичное свойство

How many standard deviations the latest sample was away.
public float StandardDeviationsAwayOfLatestSample
Результат float