SpriteTests RenderPanAndZoomIntoLogo Method Delta Engine Documentation

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

public void RenderPanAndZoomIntoLogo()
Examples

[Test]
public void RenderPanAndZoomIntoLogo()
{
    ScreenSpace.Current = new Camera2DScreenSpace(Resolve<Window>());
    var logo = new Sprite(logoMaterial, Rectangle.FromCenter(Vector2D.One, new Size(0.25f)));
    logo.Start<PanAndZoom>();
}
See Also