bm774 Triangle

Create


 

The triangle element forms a surface of an isosceles triangle sized 1x1, lying in the X-Y plane and balanced around the coordinate system origin. The coordinates of the triangle vertices are (-0.5, -0.5, 0), (0, 0.5, 0), and (0.5, -0.5, 0). The normals located in the vertices are (0, 0, -1). The texture coordinates in the vertices are (0, 1), (0.5, 0), and (1, 1). The triangle is oriented in the negative Z axis direction, i.e. facing the default camera . The element returns the identification number of the created triangle.

 

As a default, the triangle is visible from the front side only. Its visibility is changeable by the visible object side element.