dcsext.ui.Triangle

Triangle - draw a triangle on the F10 map.

Contents

  1. See Also
  2. Metamethods
    1. triangle:__init(points, scope)
    2. triangle:__draw()

See Also

Metamethods

triangle:__init(points, scope)

Constructor. Raises an error when fewer than three points are supplied.

Parameters

points
list of points representing the three corners of the triangle.
scope
dcsext.enum.coalition, which coalition can see the triangle

triangle:__draw()

Draw the triangle.