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 RenderBouncingOffScreenEdgesSprite() { var sprite = new Sprite(new Material(ShaderFlags.Position2DTextured, "DeltaEngineLogo"), new Rectangle(Vector2D.Zero, new Size(0.1f))); sprite.StartBouncingOffScreenEdges(Vector2D.Half, () => { });
See Also