Inheritance
System.Object
Mouse
 
public class Mouse : Pointer, IInputStateCallbackReceiver
 
Properties
  
Declaration
public ButtonControl backButton { get; }
 
Property Value
Declaration
public IntegerControl clickCount { get; }
 
Property Value
The mouse that was added or updated last or null if there is no mouse
connected to the system.
Declaration
public static Mouse current { get; }
 
Property Value
Declaration
public ButtonControl forwardButton { get; }
 
Property Value
Declaration
public ButtonControl leftButton { get; }
 
Property Value
Declaration
public ButtonControl middleButton { get; }
 
Property Value
Declaration
public ButtonControl rightButton { get; }
 
Property Value
The horizontal and vertical scroll wheels.
Declaration
public Vector2Control scroll { get; }
 
Property Value
Methods
  
Declaration
protected override void FinishSetup(InputDeviceBuilder builder)
 
Parameters
Overrides
Declaration
public override void MakeCurrent()
 
Overrides
Declaration
protected override void OnRemoved()
 
Overrides
Move the operating system's mouse cursor.
Declaration
public void WarpCursorPosition(Vector2 position)
 
Parameters
| Type | Name | Description | 
| Vector2 | position | New position in player window space. | 
Explicit Interface Implementations
  
Declaration
void IInputStateCallbackReceiver.OnBeforeWriteNewState(void *oldStatePtr, void *newStatePtr)
 
Parameters
| Type | Name | Description | 
| System.Void* | oldStatePtr |  | 
| System.Void* | newStatePtr |  | 
Implements
Declaration
bool IInputStateCallbackReceiver.OnCarryStateForward(void *statePtr)
 
Parameters
| Type | Name | Description | 
| System.Void* | statePtr |  | 
Returns
| Type | Description | 
| System.Boolean |  | 
Implements
Extension Methods