Namespace: DeltaEngine.Rendering2D.Tests
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Rendering2D.Tests (in DeltaEngine.Rendering2D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, ApproveFirstFrameScreenshot] public void Render2AnimatedSpritesWithDifferentDuration() { new Sprite(material, new Rectangle(0.3f, 0.4f, 0.2f, 0.2f)); var material2 = new Material(ShaderFlags.Position2DTextured, "ImageAnimation") { Duration = 1 }; new Sprite(material2, new Rectangle(0.55f, 0.4f, 0.2f, 0.2f)); }
See Also