MiningBaseGenerator.Point
A struct in Root.Township, the global namespace.
Integer 3D grid point used by MiningBaseGenerator to lay out parts.
- Listed in Global namespace: M to O
- Nested in
MiningBaseGenerator
Constructors
| Member | What it is |
|---|---|
Point(int x = 0, int y = 0, int z = 0) | Creates a MiningBaseGenerator.Point from x, y and z. |
Properties
| Member | What it is |
|---|---|
int X { get; set; } | X coordinate of the point. |
int Y { get; set; } | Vertical coordinate; Rotate leaves it unchanged. |
int Z { get; set; } | Z coordinate of the point. |
Methods
| Member | What it is |
|---|---|
MiningBaseGenerator.Point Rotate(int rotations) | Returns the point turned by the given number of quarter turns around the Y axis. |
override string ToString() | Formats the point as ( X Y Z ). |
Used in
Members of other types that take, return or hold a Point: