Bearbeiten

Freigeben über


OnSelectVisualizerInputController Class

Definition

Caution

This component is no longer supported

When the button is selected, it triggers starting the specified scene.

public ref class OnSelectVisualizerInputController : Microsoft::MixedReality::Toolkit::Input::BaseEyeFocusHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, UnityEngine::EventSystems::IEventSystemHandler
[System.Obsolete("This component is no longer supported", true)]
[UnityEngine.AddComponentMenu("Scripts/MRTK/Obsolete/OnSelectVisualizerInputController")]
[UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.Input.EyeTrackingTarget))]
public class OnSelectVisualizerInputController : Microsoft.MixedReality.Toolkit.Input.BaseEyeFocusHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, UnityEngine.EventSystems.IEventSystemHandler
[<System.Obsolete("This component is no longer supported", true)>]
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Obsolete/OnSelectVisualizerInputController")>]
[<UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.Input.EyeTrackingTarget))>]
type OnSelectVisualizerInputController = class
    inherit BaseEyeFocusHandler
    interface IMixedRealityPointerHandler
    interface IEventSystemHandler
Public Class OnSelectVisualizerInputController
Inherits BaseEyeFocusHandler
Implements IEventSystemHandler, IMixedRealityPointerHandler
Inheritance
UnityEngine.MonoBehaviour
OnSelectVisualizerInputController
Attributes
ObsoleteAttribute UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute
Implements
IMixedRealityPointerHandler UnityEngine.EventSystems.IEventSystemHandler

Constructors

OnSelectVisualizerInputController()

Fields

EventToTrigger

Properties

FocusEnabled

Is focus enabled for this Component?

(Inherited from BaseFocusHandler)
Focusers

The list of IMixedRealityPointers that are currently focused on this GameObject

(Inherited from BaseFocusHandler)
HasFocus

Does this object currently have focus by any IMixedRealityPointer?

(Inherited from BaseFocusHandler)

Methods

OnBeforeFocusChange(FocusEventData) (Inherited from BaseEyeFocusHandler)
OnEyeFocusDwell()

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

(Inherited from BaseEyeFocusHandler)
OnEyeFocusStart()

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

(Inherited from BaseEyeFocusHandler)
OnEyeFocusStay()

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

(Inherited from BaseEyeFocusHandler)
OnEyeFocusStop()

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

(Inherited from BaseEyeFocusHandler)
OnFocusChanged(FocusEventData)

Focus event that is raised when the focused object is changed.

(Inherited from BaseFocusHandler)
OnFocusEnter(FocusEventData)

The Focus Enter event is raised on this GameObject whenever a IMixedRealityPointer's focus enters this GameObject's Collider.

(Inherited from BaseFocusHandler)
OnFocusExit(FocusEventData)

The Focus Exit event is raised on this GameObject whenever a IMixedRealityPointer's focus leaves this GameObject's Collider.

(Inherited from BaseFocusHandler)
Update()

Handles highlighting targets when the cursor enters its hit box.

(Inherited from BaseEyeFocusHandler)

Explicit Interface Implementations

IMixedRealityPointerHandler.OnPointerClicked(MixedRealityPointerEventData)
IMixedRealityPointerHandler.OnPointerDown(MixedRealityPointerEventData)
IMixedRealityPointerHandler.OnPointerDragged(MixedRealityPointerEventData)
IMixedRealityPointerHandler.OnPointerUp(MixedRealityPointerEventData)

Applies to