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 RenderSlowlyFallingLogo() { var sprite = new Sprite(new Material(ShaderFlags.Position2DTextured, "DeltaEngineLogo"), screenCenter); sprite.Add(new SimplePhysics.Data { Velocity = new Vector2D(0.0f, -0.3f), RotationSpeed = 100.0f, Gravity = new Vector2D(0.0f, 0.1f), }); sprite.Color = Color.Red; sprite.Start<SimplePhysics.Move>(); }
See Also