TouchMessage PressedTouches Property Delta Engine Documentation

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

public bool[] PressedTouches { get; }

Property Value

Type:  Boolean 
Remarks

Tests: DeltaEngine.Input.Tests.TouchMessageTests
Examples

1 unit tests call DeltaEngine.Input.TouchMessage.PressedTouches
[Test]
public void VerifyTouchMessagePropertiesAreSet()
{
    Assert.AreEqual(new []{Vector2D.Half}, touchMessage.Positions);
    Assert.AreEqual(new []{true}, touchMessage.PressedTouches);
}
See Also