DefaultPointerMediator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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() |