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

[Test, ApproveFirstFrameScreenshot]
public void RenderGeneratedSpriteWithRedGreenBlueAndYellowColors()
{
    var customMaterial = new Material(new Size(4, 1));
    customMaterial.DiffuseMap.Fill(new[] { Color.Red, Color.Green, Color.Blue, Color.Yellow });
See Also