polygon¶
- Soft Override:
Unknown
box, cylinder and polygon are used in tileGeometry.txt to define the tile depth of a tile.
You can find more information here.
Hierarchy¶
This block can be a child of the following blocks:
ID¶
This block should have no ID.
Parameters¶
- plane
- Type:
string
- Allowed values:
XY|XZ|YZ
No description provided.
- points
- Type:
object (object: integer->>integer, kv: ‘x’, pairs: ‘ ‘)
Defines the points of the polygon. the format needs to be X1xY1 X2xY2 X3xY3 and so on. The first point (X1, Y1) is connected to the second point (X2, Y2), the second point (X2, Y2) is connected to the third point (X3, Y3), and so on. The last point is connected to the first point, creating a closed shape.
You can have as many points as you want.
- rotate
- Type:
array (array of integer, separator: ‘x’)
No description provided.
- translate
- Type:
array (array of integer, separator: ‘x’)
No description provided.