Click or drag to resize

DrawingBlockVisualCreatePolyLine Method

Create a new DrawingBlockVisual which contains a list of line {start,end} pairs.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public static DrawingBlockVisual CreatePolyLine(
	Document doc,
	Vector3[] points,
	Color lineColor
)

Parameters

doc
Type: Demo3D.VisualsDocument
The document to add the visual to.
points
Type: Microsoft.DirectXVector3
The array of {start,end} line pairs.
lineColor
Type: System.DrawingColor
The color of the new line list

Return Value

Type: DrawingBlockVisual
A new DrawingBlockVisual which contains a list of line {start,end} pairs.
See Also