Skip to main content

MiningBaseGenerator.Point

A struct in Root.Township, the global namespace.

Integer 3D grid point used by MiningBaseGenerator to lay out parts.

Constructors​

MemberWhat it is
Point(int x = 0, int y = 0, int z = 0)Creates a MiningBaseGenerator.Point from x, y and z.

Properties​

MemberWhat 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​

MemberWhat 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: