docs.unity.cn
    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.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    [Serializable]
    public sealed class 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
    Boolean

    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
    Boolean
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Tuesday, August 22, 2023