setHalfExtent

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

Sets the half-extent of the box on all axes.

Parameters

x

Half-extent on the X-axis

y

Half-extent on the Y-axis

z

Half-extent on the Z-axis