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

[Test, CloseAfterFirstFrame]
public void AddingUVCalculatorResultsThrowsException()
{
    var sprite = new Sprite("DeltaEngineLogoAlpha", Rectangle.One);
    Assert.Throws<Sprite.RenderingDataComponentAddingIsNotSupported>(
        () => sprite.Add(new RenderingData()));
}
See Also