Namespace: DeltaEngine.Rendering3D.Shapes
Assembly: DeltaEngine.Rendering3D.Shapes (in DeltaEngine.Rendering3D.Shapes.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Rendering3D.Shapes.Tests.Line3DTests
2 unit tests call DeltaEngine.Rendering3D.Shapes.Line3D.StartPoint
Assembly: DeltaEngine.Rendering3D.Shapes (in DeltaEngine.Rendering3D.Shapes.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: Vector3DRemarks
Examples
[Test, CloseAfterFirstFrame] public void CreateLine3D() { CreateLookAtCamera(Vector3D.One * 4.0f, Vector3D.Zero); var entity = new Line3D(Vector3D.Zero, Vector3D.One, Color.Red); Assert.AreEqual(Vector3D.Zero, entity.StartPoint); Assert.AreEqual(Vector3D.One, entity.EndPoint); }
[Test, CloseAfterFirstFrame] public void SetLine3DPoints() { CreateLookAtCamera(Vector3D.One * 4.0f, Vector3D.Zero); var entity = new Line3D(Vector3D.Zero, Vector3D.Zero, Color.Red) { StartPoint = Vector3D.UnitX, EndPoint = Vector3D.UnitY }; Assert.AreEqual(Vector3D.UnitX, entity.StartPoint); Assert.AreEqual(Vector3D.UnitY, entity.EndPoint); }
See Also