moveBackward

fun moveBackward(amount: Double? = definedExternally)(source)

Translates the camera's position by amount along the opposite direction of the camera's view vector. When in 2D mode, this will zoom out the camera instead of translating the camera's position.

Parameters

amount

The amount, in meters, to move. Defaults to defaultMoveAmount.

See also