box

fun ShapeRenderer.box(position: Vector3, width: Float, height: Float, depth: Float)

See ShapeRenderer.box.

Parameters

position

supplies x, y and z parameters.

width

width of the rendered box.

height

height of the rendered box.

depth

depth of the rendered box.