docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XRGazeAssistance.InteractorData

    Contains all the references to objects needed to mediate gaze fallback for a particular ray interactor.

    Inheritance
    object
    XRGazeAssistance.InteractorData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.Interaction.Toolkit.Gaze
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    [Serializable]
    public sealed class XRGazeAssistance.InteractorData

    Properties

    fallback

    If this interactor is currently having its ray data modified to the gaze fallback.

    Declaration
    public bool fallback { get; }
    Property Value
    Type Description
    bool

    interactor

    The interactor that can fall back to gaze data.

    Declaration
    public Object interactor { get; set; }
    Property Value
    Type Description
    Object

    teleportRay

    Changes mediation behavior to account for teleportation controls.

    Declaration
    public bool teleportRay { get; set; }
    Property Value
    Type Description
    bool
    In This Article
    Back to top
    Copyright © 2025 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)