Show / Hide Table of Contents

    Class ReceiverBase

    The base class for all receivers that attach to Interactables

    Inheritance
    Object
    ReceiverBase
    CustomInteractablesReceiver
    InteractableAudioReceiver
    InteractableOnClickReceiver
    InteractableOnFocusReceiver
    InteractableOnGrabReceiver
    InteractableOnHoldReceiver
    InteractableOnPressReceiver
    InteractableOnToggleReceiver
    InteractableOnTouchReceiver
    Inherited Members
    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 abstract class ReceiverBase

    Constructors

    ReceiverBase(UnityEvent)

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

    Fields

    HideUnityEvents

    Declaration
    public bool HideUnityEvents
    Field Value
    Type Description
    Boolean

    Host

    Declaration
    public MonoBehaviour Host
    Field Value
    Type Description
    MonoBehaviour

    Name

    Declaration
    public string Name
    Field Value
    Type Description
    String

    uEvent

    Declaration
    protected UnityEvent uEvent
    Field Value
    Type Description
    UnityEvent

    Methods

    OnClick(InteractableStates, Interactable, IMixedRealityPointer)

    A click event happened

    Declaration
    public virtual void OnClick(InteractableStates state, Interactable source, IMixedRealityPointer pointer = null)
    Parameters
    Type Name Description
    InteractableStates state
    Interactable source
    IMixedRealityPointer pointer

    OnUpdate(InteractableStates, Interactable)

    The state has changed

    Declaration
    public abstract void OnUpdate(InteractableStates state, Interactable source)
    Parameters
    Type Name Description
    InteractableStates state
    Interactable source

    OnVoiceCommand(InteractableStates, Interactable, String, Int32, Int32)

    A voice command was called

    Declaration
    public virtual void OnVoiceCommand(InteractableStates state, Interactable source, string command, int index = 0, int length = 1)
    Parameters
    Type Name Description
    InteractableStates state
    Interactable source
    String command
    Int32 index
    Int32 length
    Back to top Generated by DocFX