Polyline

external class Polyline(source)
Create this by calling [PolylineCollection.add]. Do not call the constructor directly.

A renderable polyline.

See also

Properties

Link copied to clipboard

Gets or sets the condition specifying at what distance from the camera that this polyline will be displayed.

Link copied to clipboard
var id: Any

Gets or sets the user-defined value returned when the polyline is picked.

Link copied to clipboard

Gets or sets whether a line segment will be added between the first and last polyline positions.

Link copied to clipboard

Gets or sets the surface appearance of the polyline. This can be one of several built-in Material objects or a custom material, scripted with Fabric.

Link copied to clipboard

Gets or sets the positions of the polyline.

Link copied to clipboard

Determines if this polyline will be shown. Use this to hide or show a polyline, instead of removing it and re-adding it to the collection.

Link copied to clipboard

Gets or sets the width of the polyline.