Modifica

Condividi tramite


DwellSelection Class

Definition

public ref class DwellSelection : Microsoft::MixedReality::Toolkit::Input::BaseEyeFocusHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, UnityEngine::EventSystems::IEventSystemHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/DwellSelection")]
[UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.UI.Interactable))]
public class DwellSelection : Microsoft.MixedReality.Toolkit.Input.BaseEyeFocusHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, UnityEngine.EventSystems.IEventSystemHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/DwellSelection")>]
[<UnityEngine.RequireComponent(typeof(Microsoft.MixedReality.Toolkit.UI.Interactable))>]
type DwellSelection = class
    inherit BaseEyeFocusHandler
    interface IMixedRealityPointerHandler
    interface IEventSystemHandler
Public Class DwellSelection
Inherits BaseEyeFocusHandler
Implements IEventSystemHandler, IMixedRealityPointerHandler
Inheritance
UnityEngine.MonoBehaviour
DwellSelection
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.RequireComponentAttribute
Implements
IMixedRealityPointerHandler UnityEngine.EventSystems.IEventSystemHandler

Constructors

DwellSelection()

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

Methods

DisableDwell()
EnableDwell()
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()
OnEyeFocusStay()
OnEyeFocusStop()
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()

Explicit Interface Implementations

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

Applies to