RWX: Triangle

Usage

Triangle [Tag ]

Note: [] denotes optional arguments

Also note: the Triangle and TriangleExt commands are equivalent and may be used interchangeably

Description

This command creates a new triangle and adds it to the current clump under construction. The triangle can have an optional numeric tag assigned to it.

Vertices are identified by the order in which they were declared in the current clump. The first vertex in the clump is vertex 1. Thus, a triangle made of the first three vertices in the clump would be declared as:

Triangle 1 2 3

Note that this is exactly identical to the command

Polygon 3 1 2 3

The triangle can optionally be assigned a numeric tag. The tag serves to mark that triangle for identification by Active Worlds. The following tag values have special meaning in Active Worlds:

100 - Identifies the triangle as a target for the sign object action 200 - Identifies the triangle as a target for the picture object action

Arguments

specifies the indices of the triangle's vertices

See Also

Polygon Quad Vertex