Gaze Interaction System
Search Results for

    Show / Hide Table of Contents

    Class GazeReticle

    Visual representation of the point of interaction.

    Inheritance
    System.Object
    GazeReticle
    Namespace: TS.GazeInteraction
    Assembly: .dll
    Syntax
    public class GazeReticle : MonoBehaviour

    Methods

    Enable(bool)

    Toggles the visibility of the reticle GameObject.

    Declaration
    public void Enable(bool enable)
    Parameters
    Type Name Description
    bool enable

    Whether to enable or disable the reticle.

    SetInteractor(GazeInteractor)

    Assigns the GazeInteractor using this reticle.

    Declaration
    public void SetInteractor(GazeInteractor interactor)
    Parameters
    Type Name Description
    GazeInteractor interactor

    The GazeInteractor to associate with this reticle.

    SetProgress(float)

    Updates the progress visual indicator.

    Declaration
    public void SetProgress(float progress)
    Parameters
    Type Name Description
    float progress

    The progress value (0 to 1) to display.

    SetTarget(RaycastHit)

    Assigns the current hit point to adjust the reticle position and rotation.

    Declaration
    public void SetTarget(RaycastHit hit)
    Parameters
    Type Name Description
    RaycastHit hit

    The RaycastHit containing information about the hit point.

    SetType(ReticleType)

    Sets the type of reticle (visible or invisible).

    Declaration
    public void SetType(ReticleType type)
    Parameters
    Type Name Description
    ReticleType type

    The desired reticle type.

    In This Article
    Back to top Generated by DocFX