Interface IProvidesDetectGazeDivergence | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Interface IProvidesDetectGazeDivergence

    Gives decorated class ability to detect gaze divergence above a defined threshold, for a given transform's forward vector

    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public interface IProvidesDetectGazeDivergence : IFunctionalityProvider

    Methods

    IsAboveDivergenceThreshold(Transform, Single, Boolean)

    Declaration
    bool IsAboveDivergenceThreshold(Transform transformToTest, float divergenceThreshold, bool disregardTemporalStability = true)
    Parameters
    Type Name Description
    Transform transformToTest
    Single divergenceThreshold
    Boolean disregardTemporalStability
    Returns
    Type Description
    Boolean

    SetDivergenceRecoverySpeed(Single)

    Declaration
    void SetDivergenceRecoverySpeed(float rateAtWhichGazeVelocityReturnsToStableThreshold)
    Parameters
    Type Name Description
    Single rateAtWhichGazeVelocityReturnsToStableThreshold
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX