ArLines

class ArLines(worldPoints: FloatArray, color: Int = EvsColor.White.rgba, lineWidth: Float = 3.0f) : ArPrimitive

A class representing lines in a 3D space.

Parameters

worldPoints

The array containing the world coordinates. of the line endpoints.

color

The color of the lines.

lineWidth

The width of the lines.

Constructors

Link copied to clipboard
constructor(worldPoints: FloatArray, color: Int = EvsColor.White.rgba, lineWidth: Float = 3.0f)

Functions

Link copied to clipboard

Method to get the outline width of the triangles, if greater than 0, only the outline is drawn.

Link copied to clipboard
fun setLineWidth(lineWidth: Float)

Method to set the outline width of the triangles, if greater than 0, only the outline is drawn.