Bearbeiten

Freigeben über


DefaultPrimaryPointerSelector Class

Definition

Default primary pointer selector. The primary pointer is chosen among all interaction enabled ones using the following rules in order:

  1. Currently pressed pointer that has been pressed for the longest
  2. Pointer that was released most recently
  3. Pointer that became interaction enabled most recently
public ref class DefaultPrimaryPointerSelector : Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPrimaryPointerSelector, UnityEngine::EventSystems::IEventSystemHandler
public class DefaultPrimaryPointerSelector : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPrimaryPointerSelector, UnityEngine.EventSystems.IEventSystemHandler
type DefaultPrimaryPointerSelector = class
    interface IMixedRealityPrimaryPointerSelector
    interface IMixedRealityPointerHandler
    interface IEventSystemHandler
Public Class DefaultPrimaryPointerSelector
Implements IEventSystemHandler, IMixedRealityPointerHandler, IMixedRealityPrimaryPointerSelector
Inheritance
DefaultPrimaryPointerSelector
Implements
IMixedRealityPointerHandler IMixedRealityPrimaryPointerSelector UnityEngine.EventSystems.IEventSystemHandler

Constructors

DefaultPrimaryPointerSelector()

Methods

Destroy()
Initialize()
RegisterPointer(IMixedRealityPointer)
UnregisterPointer(IMixedRealityPointer)
Update()

Explicit Interface Implementations

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

Applies to