MouseMessage ScrollWheel Property Delta Engine Documentation

Namespace: DeltaEngine.Input
Assembly: DeltaEngine.Input (in DeltaEngine.Input.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public int ScrollWheel { get; }

Property Value

Type: Int32
Remarks

Tests: DeltaEngine.Input.Tests.MouseMessageTests
Examples

1 unit tests call DeltaEngine.Input.MouseMessage.ScrollWheel
[Test]
public void VerifyMouseMessagePropertiesAreSet()
{
    Assert.AreEqual(Vector2D.Half, mouseMessage.Position);
    Assert.AreEqual(0, mouseMessage.ScrollWheel);
    Assert.AreEqual(new[] { MouseButton.Left }, mouseMessage.PressedButtons);
}
See Also