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

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

    Show / Hide Table of Contents

    Class InteractableOnFocusReceiver

    A basic focus event receiver

    Inheritance
    Object
    ReceiverBase
    InteractableOnFocusReceiver
    Inherited Members
    ReceiverBase.Name
    ReceiverBase.HideUnityEvents
    ReceiverBase.uEvent
    ReceiverBase.Event
    ReceiverBase.Host
    ReceiverBase.OnVoiceCommand(InteractableStates, Interactable, String, Int32, Int32)
    ReceiverBase.OnClick(InteractableStates, Interactable, IMixedRealityPointer)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class InteractableOnFocusReceiver : ReceiverBase

    Constructors

    InteractableOnFocusReceiver()

    Creates receiver that raises focus enter and exit unity events

    Declaration
    public InteractableOnFocusReceiver()

    InteractableOnFocusReceiver(UnityEvent)

    Creates receiver that raises focus enter and exit unity events

    Declaration
    public InteractableOnFocusReceiver(UnityEvent ev)
    Parameters
    Type Name Description
    UnityEvent ev

    Fields

    OnFocusOff

    Raised when focus has left the object

    Declaration
    public UnityEvent OnFocusOff
    Field Value
    Type Description
    UnityEvent

    Properties

    OnFocusOn

    Raised when focus has entered the object

    Declaration
    public UnityEvent OnFocusOn { get; }
    Property Value
    Type Description
    UnityEvent

    Methods

    OnUpdate(InteractableStates, Interactable)

    The state has changed

    Declaration
    public override void OnUpdate(InteractableStates state, Interactable source)
    Parameters
    Type Name Description
    InteractableStates state
    Interactable source
    Overrides
    ReceiverBase.OnUpdate(InteractableStates, Interactable)
    Back to top Generated by DocFX