C# 클래스 HoloToolkit.Unity.VectorRollingStatistics

파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity

공개 프로퍼티들

프로퍼티 타입 설명
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