Interface IProvidesDetectGazeDivergence | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023