atY

open override fun atY(y: Float): Pos3f(source)

Keeps the x and z coordinate, but puts this position into 3-dimensional space (Pos3Dimensional) at the given height y.