Interface IMixedRealityPointerMediator
Interface for handling groups of pointers resolving conflicts between them. E.g., ensuring that far pointers are disabled when a near pointer is active.
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public interface IMixedRealityPointerMediator
Methods
RegisterPointers(IMixedRealityPointer[])
Declaration
void RegisterPointers(IMixedRealityPointer[] pointers)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer[] | pointers |
SetPointerPreferences(IPointerPreferences)
Called to set the pointer preferences of the current input and focus configuration.
Declaration
void SetPointerPreferences(IPointerPreferences pointerPreferences)
Parameters
Type | Name | Description |
---|---|---|
IPointerPreferences | pointerPreferences |
Remarks
These preferences can be used by the pointer mediator to determine runtime preferences set by the caller (for example, the caller could request to turn off all hand rays). It's possible that some of these preferences may not be honored (for example, current input system is set up to not have hand rays at all, and a request comes in to turn on/off hand rays).
UnregisterPointers(IMixedRealityPointer[])
Declaration
void UnregisterPointers(IMixedRealityPointer[] pointers)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer[] | pointers |
UpdatePointers()
Declaration
void UpdatePointers()