SpriteTests RenderRotatedSprite 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 RenderRotatedSprite()
Examples

[Test, ApproveFirstFrameScreenshot]
public void RenderRotatedSprite()
{
    var sprite = new Sprite(logoMaterial, Rectangle.FromCenter(Vector2D.Half, new Size(0.5f)));
    sprite.Rotation = 60;
}
See Also