Click or drag to resize
DigitalRuneInputSettingsMouseCenter Property
Gets or sets the mouse center for the mouse centering.

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
public Vector2F MouseCenter { get; set; }

Property Value

Type: Vector2F
The mouse center in pixels. The default values (300, 300).
Remarks
If EnableMouseCentering is , the input service will reset the mouse position to MouseCenter in each frame. This is necessary, for example, for first-person shooters that need only relative mouse input.
See Also