mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class VectorRollingStatistics

    Vector Statistics used in gaze stabilization.

    Inheritance
    Object
    VectorRollingStatistics
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Physics
    Assembly: cs.temp.dll.dll
    Syntax
    public class VectorRollingStatistics

    Properties

    ActualSampleCount

    The number of samples in the current set (may be 0 - maxSamples)

    Declaration
    public float ActualSampleCount { get; }
    Property Value
    Type Description
    Single

    ActualSampleCount

    The number of samples in the current set (may be 0 - maxSamples)

    Declaration
    public float ActualSampleCount { get; }
    Property Value
    Type Description
    Single

    Average

    The average position.

    Declaration
    public Vector3 Average { get; }
    Property Value
    Type Description
    Vector3

    Average

    The average position.

    Declaration
    public Vector3 Average { get; }
    Property Value
    Type Description
    Vector3

    CurrentStandardDeviation

    Current standard deviation of the positions of the vectors.

    Declaration
    public float CurrentStandardDeviation { get; }
    Property Value
    Type Description
    Single

    CurrentStandardDeviation

    Current standard deviation of the positions of the vectors.

    Declaration
    public float CurrentStandardDeviation { get; }
    Property Value
    Type Description
    Single

    StandardDeviationDeltaAfterLatestSample

    Difference to standardDeviation when the latest sample was added.

    Declaration
    public float StandardDeviationDeltaAfterLatestSample { get; }
    Property Value
    Type Description
    Single

    StandardDeviationDeltaAfterLatestSample

    Difference to standardDeviation when the latest sample was added.

    Declaration
    public float StandardDeviationDeltaAfterLatestSample { get; }
    Property Value
    Type Description
    Single

    StandardDeviationsAwayOfLatestSample

    How many standard deviations the latest sample was away.

    Declaration
    public float StandardDeviationsAwayOfLatestSample { get; }
    Property Value
    Type Description
    Single

    StandardDeviationsAwayOfLatestSample

    How many standard deviations the latest sample was away.

    Declaration
    public float StandardDeviationsAwayOfLatestSample { get; }
    Property Value
    Type Description
    Single

    Methods

    AddSample(Vector3)

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

    Declaration
    public void AddSample(Vector3 value)
    Parameters
    Type Name Description
    Vector3 value

    The new sample to add

    AddSample(Vector3)

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

    Declaration
    public void AddSample(Vector3 value)
    Parameters
    Type Name Description
    Vector3 value

    The new sample to add

    Init(Int32)

    Initialize the rolling stats.

    Declaration
    public void Init(int sampleCount)
    Parameters
    Type Name Description
    Int32 sampleCount

    Init(Int32)

    Initialize the rolling stats.

    Declaration
    public void Init(int sampleCount)
    Parameters
    Type Name Description
    Int32 sampleCount

    Reset()

    Resets the stats to zero.

    Declaration
    public void Reset()

    Reset()

    Resets the stats to zero.

    Declaration
    public void Reset()
    In This Article
    • Properties
      • ActualSampleCount
      • ActualSampleCount
      • Average
      • Average
      • CurrentStandardDeviation
      • CurrentStandardDeviation
      • StandardDeviationDeltaAfterLatestSample
      • StandardDeviationDeltaAfterLatestSample
      • StandardDeviationsAwayOfLatestSample
      • StandardDeviationsAwayOfLatestSample
    • Methods
      • AddSample(Vector3)
      • AddSample(Vector3)
      • Init(Int32)
      • Init(Int32)
      • Reset()
      • Reset()
    Back to top Generated by DocFX