ArTriangles

constructor(worldPoints: FloatArray, fillColor: Int = EvsColor.White.rgba, lineWidth: Float = 0.0f)

Constructor for creating ArTriangles without indices.

See Also: ENU coordinates system.

Parameters

worldPoints

Array of world coordinates for the vertices of the triangles.

fillColor

Color used to fill the triangles.

lineWidth

Width of the outline, if greater than 0, only the outline is drawn.


constructor(worldPointsReference: FloatArray, worldPointsIndices: IntArray, fillColor: Int = EvsColor.White.rgba, lineWidth: Float = 0.0f)