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] public void RenderMovingUVSprite() { var sprite = new Sprite(new Material(ShaderFlags.Position2DTextured, "DeltaEngineLogo"), Rectangle.One); sprite.SetWithoutInterpolation(new Rectangle(0, 0, 0.1f, 0.1f)); sprite.FlipMode = FlipMode.Vertical; sprite.StartMovingUV(Vector2D.One/10); }
See Also