Namespace: DeltaEngine.Graphics.Tests
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, ApproveFirstFrameScreenshot] public void ShowLineIn3D() { var drawing = Resolve<Drawing>(); var lineMaterial = new Material(ShaderFlags.Colored, ""); new MaterialVertexDrawer( () => drawing.AddLines(lineMaterial, new[] { new VertexPosition3DColor(new Vector3D(-3.0f, 3.0f, 0.0f), Color.Red), new VertexPosition3DColor(new Vector3D(3.0f, 3.0f, 0.0f), Color.Red) })); }
See Also