withX

fun withX(x: Int): Position3D

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

Sources

(source)
Link copied to clipboard