Class BaseMousePointer
Base Mouse Pointer Implementation.
Inheritance
BaseMousePointer
Implements
IEventSystemHandler
IEqualityComparer
Assembly: cs.temp.dll.dll
public abstract class BaseMousePointer : BaseControllerPointer, IMixedRealityControllerPoseSynchronizer, IMixedRealitySourcePoseHandler, IMixedRealitySourceStateHandler, IMixedRealityInputHandler, IMixedRealityBaseInputHandler, IMixedRealityInputHandler<float>, IMixedRealityInputHandler<Vector2>, IMixedRealityInputHandler<Vector3>, IMixedRealityInputHandler<Quaternion>, IMixedRealityInputHandler<MixedRealityPose>, IEventSystemHandler, IMixedRealityMousePointer, IMixedRealityPointer, IEqualityComparer
Fields
Declaration
protected bool isDisabled
Field Value
Declaration
protected float timeoutTimer
Field Value
Properties
The current controller reference.
Declaration
public override IMixedRealityController Controller { get; set; }
Property Value
Overrides
Declaration
protected abstract string ControllerName { get; }
Property Value
If true, the cursor will hide on movement timeout
Declaration
public bool HideCursorWhenInactive { get; }
Property Value
Time the mouse cursor must stay immobile to be hidden
Declaration
public float HideTimeout { get; }
Property Value
Is the pointer active and have the conditions for the interaction been satisfied to enable the interaction?
Declaration
public override bool IsInteractionEnabled { get; }
Property Value
Overrides
Movement threshold to reach before un-hiding the mouse cursor
Declaration
public float MovementThresholdToUnHide { get; }
Property Value
Declaration
public override Vector3 Position { get; }
Property Value
Overrides
Methods
Input Down updates from Interactions, Keys, or any other simple input.
Declaration
public override void OnInputDown(InputEventData eventData)
Parameters
Overrides
Input Up updates from Interactions, Keys, or any other simple input.
Declaration
public override void OnInputUp(InputEventData eventData)
Parameters
Overrides
Raised when a source is detected.
Declaration
public override void OnSourceDetected(SourceStateEventData eventData)
Parameters
Overrides
Raised when a source is lost.
Declaration
public override void OnSourceLost(SourceStateEventData eventData)
Parameters
Overrides
Declaration
protected virtual void SetVisibility(bool visible)
Parameters
Type |
Name |
Description |
Boolean |
visible |
|
Declaration
protected override void Start()
Overrides
Implements
IEventSystemHandler
IEqualityComparer