編輯

共用方式為


DefaultPointerMediator Class

Definition

The default implementation for pointer mediation in MRTK which is responsible for determining which pointers are active based on the state of all pointers. For example, one of the key things this class does is disable far pointers when a near pointer is close to an object.

public ref class DefaultPointerMediator : Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerMediator
public class DefaultPointerMediator : Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerMediator
type DefaultPointerMediator = class
    interface IMixedRealityPointerMediator
Public Class DefaultPointerMediator
Implements IMixedRealityPointerMediator
Inheritance
DefaultPointerMediator
Implements

Constructors

DefaultPointerMediator()
DefaultPointerMediator(IPointerPreferences)

Fields

allPointers
farInteractPointers
nearInteractPointers
pointerByInputSourceParent
pointerPreferences
teleportPointers
unassignedPointers

Methods

RegisterPointers(IMixedRealityPointer[])
SetPointerPreferences(IPointerPreferences)

Called to set the pointer preferences of the current input and focus configuration.

UnregisterPointers(IMixedRealityPointer[])
UpdatePointers()

Applies to