DrawingBlockVisualCreateLine(Document, Vector3, Vector3, Color) Method |
Create a new DrawingBlockVisual which contains a single line.
Namespace: Demo3D.VisualsAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic static DrawingBlockVisual CreateLine(
Document doc,
Vector3 lineStart,
Vector3 lineEnd,
Color lineColor
)
Parameters
- doc Document
- The document to add the visual to.
- lineStart Vector3
- The start point of the line local to the new Visual.
- lineEnd Vector3
- The end point of the line local to the new Visual.
- lineColor Color
- The color of the new line.
Return Value
DrawingBlockVisualA new DrawingBlockVisual which contains a single line.
See Also