Class BaseMousePointer
Base Mouse Pointer Implementation.
Inheritance
BaseMousePointer
Implements
MonoBehaviour
IEventSystemHandler
IEqualityComparer
Assembly: cs.temp.dll.dll
public abstract class BaseMousePointer : BaseControllerPointer, MonoBehaviour, 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 bool isDisabled
Field Value
Declaration
protected float timeoutTimer
Field Value
Declaration
protected float timeoutTimer
Field Value
Properties
Declaration
public override IMixedRealityController Controller { get; set; }
Property Value
Overrides
Declaration
public override IMixedRealityController Controller { get; set; }
Property Value
Overrides
Declaration
protected abstract string ControllerName { get; }
Property Value
Declaration
protected abstract string ControllerName { get; }
Property Value
If true, the cursor will hide on movement timeout
Declaration
public bool HideCursorWhenInactive { 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
Time the mouse cursor must stay immobile to be hidden
Declaration
public float HideTimeout { get; }
Property Value
Declaration
public override bool IsInteractionEnabled { get; }
Property Value
Overrides
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
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
Declaration
public override Vector3 Position { get; }
Property Value
Overrides
Methods
Declaration
public override void OnInputDown(InputEventData eventData)
Parameters
Overrides
Declaration
public override void OnInputDown(InputEventData eventData)
Parameters
Overrides
Declaration
public override void OnInputUp(InputEventData eventData)
Parameters
Overrides
Declaration
public override void OnInputUp(InputEventData eventData)
Parameters
Overrides
Declaration
public override void OnSourceDetected(SourceStateEventData eventData)
Parameters
Overrides
Declaration
public override void OnSourceDetected(SourceStateEventData eventData)
Parameters
Overrides
Declaration
public override void OnSourceLost(SourceStateEventData eventData)
Parameters
Overrides
Declaration
public override void OnSourceLost(SourceStateEventData eventData)
Parameters
Overrides
Declaration
protected virtual void SetVisibility(bool visible)
Parameters
Type |
Name |
Description |
Boolean |
visible |
|
Declaration
protected virtual void SetVisibility(bool visible)
Parameters
Type |
Name |
Description |
Boolean |
visible |
|
Declaration
protected override void Start()
Overrides
Declaration
protected override void Start()
Overrides
Implements
MonoBehaviour
IEventSystemHandler
IEqualityComparer