 | IInputServiceEnableMouseCentering Property |
Gets or sets a value indicating whether the mouse position is reset in each frame.
Namespace: DigitalRune.Game.InputAssembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntaxbool EnableMouseCentering { get; set; }
Property EnableMouseCentering As Boolean
Get
Set
property bool EnableMouseCentering {
bool get ();
void set (bool value);
}
abstract EnableMouseCentering : bool with get, set
Property Value
Type:
Boolean if the mouse position is reset in each frame; otherwise,
.
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