| InputManagerEnableMouseCentering 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)
Syntax public bool EnableMouseCentering { get; set; }
Public Property EnableMouseCentering As Boolean
Get
Set
public:
virtual property bool EnableMouseCentering {
bool get () sealed;
void set (bool value) sealed;
}
abstract EnableMouseCentering : bool with get, set
override EnableMouseCentering : bool with get, set
Property Value
Type:
Boolean if the mouse position is reset in each frame; otherwise,
.
Implements
IInputServiceEnableMouseCenteringRemarks
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