Namespace: DeltaEngine.Rendering2D
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering2D.Tests.SpriteTests
2 unit tests call DeltaEngine.Rendering2D.Sprite.LastUV
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: RectangleRemarks
Examples
[Test] public void SettingUVDoesNotSetLastUV() { var sprite = new Sprite("DeltaEngineLogoAlpha", Rectangle.Zero) { UV = Rectangle.HalfCentered }; Assert.AreEqual(Rectangle.One, sprite.LastUV); }
[Test] public void ChangeLastUV() { var sprite = new Sprite("DeltaEngineLogoAlpha", Rectangle.Zero); sprite.LastUV = Rectangle.HalfCentered; Assert.AreEqual(Rectangle.HalfCentered, sprite.LastUV); }
See Also