withZ

fun withZ(z: Int): Position3D

Creates a new Position3D object representing a 3D position with the same x and y as this but with the supplied y.

Sources

(source)
Link copied to clipboard