RenderTriangle Data Member Function

Renders a triangle. Each point specifies a 3D coordinate, a color, and a 2D texture coordinate.

Prototype

int32 RenderTriangle( Point A, Point B, Point C )

Parameters

Parameter Type Parameter Name Documentation
<Point>AThe first point of the triangle.
<Point>BThe second point of the triangle.
<Point>CThe third point of the triangle.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.