setCenter

fun setCenter(x: Float, y: Float, z: Float)

Sets the center of the box to the given coordinates.

Parameters

x

X-coordinate of the center

y

Y-coordinate of the center

z

Z-coordinate of the center