docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IAdaptPosition

    Gives decorated class ability to be automatically positioned by the AdaptivePositionModule

    Namespace: Unity.EditorXR
    Assembly: solution.dll
    Syntax
    public interface IAdaptPosition

    Properties

    Name Description
    adaptiveElementRepositionCoroutine

    Coroutine that handles the animated re-positioning of the object

    adaptivePositionRestDistance

    Target z-offset, at which to position the gaze source transform

    adaptiveTransform

    Transform utilized by the AdaptivePositionModule to reposition this transform when the allowedGazeDivergence threshold is surpassed. If null, the adaptivePositionModule will not manually re-position the implementor, regardless of applicable criteria

    allowAdaptivePositioning

    Denotes if this implementer is active, and will have it's position adjusted automatically

    allowedDegreeOfGazeDivergence

    Angle representing the allowed amount of tolerance between the gaze's forward vector and the implementer transform, beyond which the implementer will be repositioned by the AdaptivePositionModule

    allowedMaxDistanceDivergence

    Distance beyond which an object will be re-positioned at the ideal distance from the user's gaze/hmd

    allowedMinDistanceDivergence

    Distance below which an object will be re-positioned at the ideal distance from the user's gaze/hmd

    beingMoved

    Denotes if this implementer is being moved by the AdaptivePositionModule

    inFocus

    Denotes if this implementer is within the allowed gaze range, and being looked at

    onlyMoveWhenOutOfFocus

    Adjust position only when out of focus/gaze This allows an implementer to remain stable while the user move towards/away while focusing upon it

    repositionIfOutOfFocus

    Adjust position, regardless of distance, if out of focus

    resetAdaptivePosition

    Bool denoting that this implementer should have its position immediately reset when the next scheduled position update occurs

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)