mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class BaseEyeFocusHandler

    Base Component for handling Eye Focus on GameObjects.

    Inheritance
    Object
    BaseFocusHandler
    BaseEyeFocusHandler
    Implements
    IMixedRealityFocusHandler
    IMixedRealityFocusChangedHandler
    IEventSystemHandler
    MonoBehaviour
    Inherited Members
    BaseFocusHandler.FocusEnabled
    BaseFocusHandler.HasFocus
    BaseFocusHandler.Focusers
    BaseFocusHandler.OnFocusEnter(FocusEventData)
    BaseFocusHandler.OnFocusExit(FocusEventData)
    BaseFocusHandler.OnFocusChanged(FocusEventData)
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class BaseEyeFocusHandler : BaseFocusHandler, IMixedRealityFocusHandler, IMixedRealityFocusChangedHandler, IEventSystemHandler, MonoBehaviour

    Methods

    OnBeforeFocusChange(FocusEventData)

    Declaration
    public override void OnBeforeFocusChange(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData
    Overrides
    BaseFocusHandler.OnBeforeFocusChange(FocusEventData)

    OnBeforeFocusChange(FocusEventData)

    Declaration
    public override void OnBeforeFocusChange(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData
    Overrides
    BaseFocusHandler.OnBeforeFocusChange(FocusEventData)

    OnEyeFocusDwell()

    Triggered once the eye gaze ray has intersected with this target's collider for a specified amount of time.

    Declaration
    protected virtual void OnEyeFocusDwell()

    OnEyeFocusDwell()

    Triggered once the eye gaze ray has intersected with this target's collider for a specified amount of time.

    Declaration
    protected virtual void OnEyeFocusDwell()

    OnEyeFocusStart()

    Triggered once the eye gaze ray starts intersecting with this target's collider.

    Declaration
    protected virtual void OnEyeFocusStart()

    OnEyeFocusStart()

    Triggered once the eye gaze ray starts intersecting with this target's collider.

    Declaration
    protected virtual void OnEyeFocusStart()

    OnEyeFocusStay()

    Triggered while the eye gaze ray is intersecting with this target's collider.

    Declaration
    protected virtual void OnEyeFocusStay()

    OnEyeFocusStay()

    Triggered while the eye gaze ray is intersecting with this target's collider.

    Declaration
    protected virtual void OnEyeFocusStay()

    OnEyeFocusStop()

    Triggered once the eye gaze ray stops intersecting with this target's collider.

    Declaration
    protected virtual void OnEyeFocusStop()

    OnEyeFocusStop()

    Triggered once the eye gaze ray stops intersecting with this target's collider.

    Declaration
    protected virtual void OnEyeFocusStop()

    Update()

    Handles highlighting targets when the cursor enters its hit box.

    Declaration
    protected virtual void Update()

    Update()

    Handles highlighting targets when the cursor enters its hit box.

    Declaration
    protected virtual void Update()

    Implements

    IMixedRealityFocusHandler
    IMixedRealityFocusChangedHandler
    IEventSystemHandler
    MonoBehaviour
    In This Article
    • Methods
      • OnBeforeFocusChange(FocusEventData)
      • OnBeforeFocusChange(FocusEventData)
      • OnEyeFocusDwell()
      • OnEyeFocusDwell()
      • OnEyeFocusStart()
      • OnEyeFocusStart()
      • OnEyeFocusStay()
      • OnEyeFocusStay()
      • OnEyeFocusStop()
      • OnEyeFocusStop()
      • Update()
      • Update()
    • Implements
    Back to top Generated by DocFX