Line3D Points Property Delta Engine Documentation

Namespace: DeltaEngine.Rendering3D.Shapes
Assembly: DeltaEngine.Rendering3D.Shapes (in DeltaEngine.Rendering3D.Shapes.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public List<Vector3D> Points { get; set; }

Property Value

Type: List Vector3D 
Remarks

Tests: DeltaEngine.Rendering3D.Shapes.Tests.Line3DTests
Examples

1 unit tests call DeltaEngine.Rendering3D.Shapes.Line3D.Points
[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