GamePadAnalogTrigger Movement Property Delta Engine Documentation

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

public Vector2D Movement { get; set; }

Property Value

Type: Vector2D

Implements

MovementTrigger Movement
Remarks

Tests: DeltaEngine.Input.Tests.GamePadAnalogTriggerTests
Examples

1 unit tests call DeltaEngine.Input.GamePadAnalogTrigger.Movement
[Test, CloseAfterFirstFrame]
public void Create()
{
    var trigger = new GamePadAnalogTrigger(GamePadAnalog.RightThumbStick);
    Assert.AreEqual(GamePadAnalog.RightThumbStick, trigger.Stick);
    Assert.AreEqual(Vector2D.Zero, trigger.Movement);
}
See Also