Namespace: DeltaEngine.Rendering2D
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering2D.Tests.SpriteTests
1 unit tests call DeltaEngine.Rendering2D.Sprite.Elapsed
Assembly: DeltaEngine.Rendering2D (in DeltaEngine.Rendering2D.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: SingleRemarks
Examples
[Test, CloseAfterFirstFrame] public void ResetNonAnimationSprite() { var sprite = new Sprite(logoMaterial, Rectangle.HalfCentered); sprite.Elapsed = 4f; sprite.Reset(); Assert.AreEqual(0f, sprite.Elapsed); }
See Also