SceneTests SetChangingViewport Method Delta Engine Documentation

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

public void SetChangingViewport()
Examples

[Test]
public void SetChangingViewport()
{
    window.ViewportPixelSize = new Size(288, 512);
    scene.SetViewportBackground("CheckerboardImage288x512");
    window.ViewportPixelSize = new Size(512, 288);
    scene.SetViewportBackground("CheckerboardImage512x288");
}
See Also