Skip to content

niTriangle⚓︎

Contains the geometry data for an NiTriShape object.

Properties⚓︎

verticies⚓︎

The access to the three indices of the verticies that make up this triangle (0-indexed).

Returns:

  • result (number[])

Functions⚓︎

new⚓︎

Creates a new niTriangle with the given vertices.

local triangle = niTriangle.new(first, second, third)

Parameters:

  • first (number)
  • second (number)
  • third (number)

Returns: