Line Component

The Line component is used to render a line segment connected by a given point in a 3D scene. The line segment rendered by the Line component is wide and always faces the camera, which is similar to the billboard component.

PropertiesFeatures
textureThe map displayed in the line segment.
worldSpaceWhich coordinate system is used for the coordinates of each point in the line segment, check Use world coordinate system, and deselect use local coordinate system.
positionsThe coordinates of the end points of each line segment.
wdithThe width of the line segment, if a curve is used, it means the change of the curve along the direction of the line segment.
tileNumber of texture tiles.
offsetThe offset of the texture coordinates.
colorThe color of the line segment. If a gradient color is used, it indicates the color gradient along the direction of the line segment.

To use Line, please refer to the Line API.