Class DefaultPrimaryPointerSelector
Default primary pointer selector. The primary pointer is chosen among all interaction enabled ones using the following rules in order:
- Currently pressed pointer that has been pressed for the longest
- Pointer that was released most recently
- Pointer that became interaction enabled most recently
Inheritance
DefaultPrimaryPointerSelector
Implements
IEventSystemHandler
Assembly: cs.temp.dll.dll
public class DefaultPrimaryPointerSelector : IMixedRealityPrimaryPointerSelector, IMixedRealityPointerHandler, IEventSystemHandler
Methods
Declaration
Declaration
Declaration
public void RegisterPointer(IMixedRealityPointer pointer)
Parameters
Declaration
public void UnregisterPointer(IMixedRealityPointer pointer)
Parameters
Declaration
public virtual IMixedRealityPointer Update()
Returns
Explicit Interface Implementations
Declaration
void IMixedRealityPointerHandler.OnPointerClicked(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerDown(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerDragged(MixedRealityPointerEventData eventData)
Parameters
Declaration
void IMixedRealityPointerHandler.OnPointerUp(MixedRealityPointerEventData eventData)
Parameters
Implements
IEventSystemHandler