PixelScreenSpace Right Property Delta Engine Documentation

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

public override float Right { get; }

Property Value

Type: Single
Remarks

Tests: DeltaEngine.Tests.ScreenSpaces.PixelScreenSpaceTests
Examples

1 unit tests call DeltaEngine.ScreenSpaces.PixelScreenSpace.Right
[Test]
public void NonSquareWindowWithPixelSpace()
{
    var screen = new PixelScreenSpace(window);
    Assert.AreEqual(0.0f, screen.Left);
    Assert.AreEqual(0.0f, screen.Top);
    Assert.AreEqual(800.0f, screen.Right);
    Assert.AreEqual(600.0f, screen.Bottom);
    window.CloseAfterFrame();
}
See Also