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

[Test, ApproveFirstFrameScreenshot]
public void RenderInactivatedAndReactivatedSprite()
{
    var sprite = new Sprite(logoMaterial, Rectangle.HalfCentered);
    sprite.IsActive = false;
    sprite.IsActive = true;
}
See Also