日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class BaseEyeFocusHandler

    Base Component for handling Eye Focus on GameObjects.

    Inheritance
    Object
    BaseFocusHandler
    BaseEyeFocusHandler
    Implements
    IMixedRealityFocusHandler
    IMixedRealityFocusChangedHandler
    IEventSystemHandler
    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

    Methods

    OnBeforeFocusChange(FocusEventData)

    Focus event that is raised before the focus is actually changed.

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

    Useful for logic that needs to take place before focus changes.

    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()

    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()

    Update()

    Handles highlighting targets when the cursor enters its hit box.

    Declaration
    protected virtual void Update()

    Implements

    IMixedRealityFocusHandler
    IMixedRealityFocusChangedHandler
    IEventSystemHandler
    Back to top Generated by DocFX