|
Polygon |
|
Usage Polygon <sides> <v1> .. <vn> [Tag <tag>] Note: [] denotes optional arguments Also note: the Polygon and PolygonExt commands are equivalent and may be used interchangeably
Description This command creates a new polygon and adds it to the current clump under construction. The polygon can have an optional numeric tag assigned to it. The number of vertices specified must match the value of <sides>. 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 quadrangle made of the first four vertices in the clump would be declared as: Polygon 4 1 2 3 4 The polygon can optionally be assigned a numeric tag. The tag serves to mark that polygon for identification by Active Worlds. The following tag values have special meaning in Active Worlds:
100 - Identifies the polygon as a target for the sign object action
Arguments <sides> specifies the number of sides (and vertices) in the polygon
<v1> .. <vn> specifies the indices of the polygon's vertices
See Also |