Namespace: DeltaEngine.Input
Assembly: DeltaEngine.Input (in DeltaEngine.Input.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Input.Tests.TouchRotateTriggerTests
1 unit tests call DeltaEngine.Input.TouchRotateTrigger.Angle
Assembly: DeltaEngine.Input (in DeltaEngine.Input.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: SingleRemarks
Examples
[Test, CloseAfterFirstFrame] public void Angle() { var touch = Resolve<Touch>() as MockTouch; if (touch == null) return; //ncrunch: no coverage var trigger = new TouchRotateTrigger(); touch.SetTouchState(0, State.Pressing, new Vector2D(0.5f, 0.1f)); touch.SetTouchState(1, State.Pressed, new Vector2D(0.5f, 0.7f)); touch.Update(new[] { trigger });
See Also