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

[Test]
public void RenderManySprites()
{
    var random = Randomizer.Current;
    for (int num = 0; num < 20; num++)
        new Sprite(logoMaterial,
            new Rectangle(random.Get(0.0f, 0.8f), random.Get(0.2f, 0.8f), 0.2f, 0.2f));
}
See Also