Interface IMixedRealityPrimaryPointerSelector
Interface used by the focus provider to select the pointer that will be considered as primary. The current primary pointer can we obtained via PrimaryPointer or subscribing to the primary pointer changed event via SubscribeToPrimaryPointerChanged(PrimaryPointerChangedHandler, Boolean).
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public interface IMixedRealityPrimaryPointerSelector
Methods
Destroy()
Called on destruction of the focus provider to destroy the selector.
Declaration
void Destroy()
Destroy()
Called on destruction of the focus provider to destroy the selector.
Declaration
void Destroy()
Initialize()
Called on initialization of the focus provider to initialize the selector.
Declaration
void Initialize()
Initialize()
Called on initialization of the focus provider to initialize the selector.
Declaration
void Initialize()
RegisterPointer(IMixedRealityPointer)
Registers a pointer with the selector.
Declaration
void RegisterPointer(IMixedRealityPointer pointer)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer |
RegisterPointer(IMixedRealityPointer)
Registers a pointer with the selector.
Declaration
void RegisterPointer(IMixedRealityPointer pointer)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer |
UnregisterPointer(IMixedRealityPointer)
Unregisters a pointer with the selector.
Declaration
void UnregisterPointer(IMixedRealityPointer pointer)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer |
UnregisterPointer(IMixedRealityPointer)
Unregisters a pointer with the selector.
Declaration
void UnregisterPointer(IMixedRealityPointer pointer)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityPointer | pointer |
Update()
Called from the focus provider after updating pointers to obtain the new primary pointer.
Declaration
IMixedRealityPointer Update()
Returns
Type | Description |
---|---|
IMixedRealityPointer | The new primary pointer or null if none. |
Update()
Called from the focus provider after updating pointers to obtain the new primary pointer.
Declaration
IMixedRealityPointer Update()
Returns
Type | Description |
---|---|
IMixedRealityPointer | The new primary pointer or null if none. |