use

inline fun <T : BatchTiledMapRenderer> T.use(camera: OrthographicCamera, block: (T) -> Unit)

Automatically calls BatchTiledMapRenderer.beginRender and BatchTiledMapRenderer.endRender.

Parameters

camera

A camera to set on the renderer before BatchTiledMapRenderer.beginRender.

block

inlined. Executed after BatchTiledMapRenderer.beginRender and before BatchTiledMapRenderer.endRender.


inline fun <T : BatchTiledMapRenderer> T.use(projection: Matrix4, x: Float, y: Float, width: Float, height: Float, block: (T) -> Unit)

Automatically calls BatchTiledMapRenderer.beginRender and BatchTiledMapRenderer.endRender.

Parameters

projection

A projection matrix to set on the renderer before BatchTiledMapRenderer.beginRender.

x

map render boundary x value.

y

map render boundary y value.

width

map render boundary width value.

height

map render boundary height value.

block

inlined. Executed after BatchTiledMapRenderer.beginRender and before BatchTiledMapRenderer.endRender.


inline fun <T : BatchTiledMapRenderer> T.use(projection: Matrix4, mapBoundary: Rectangle, block: (T) -> Unit)

Automatically calls BatchTiledMapRenderer.beginRender and BatchTiledMapRenderer.endRender.

Parameters

projection

A projection matrix to set on the renderer before BatchTiledMapRenderer.beginRender.

mapBoundary

map render boundary.

block

inlined. Executed after BatchTiledMapRenderer.beginRender and before BatchTiledMapRenderer.endRender.


inline fun <T : BatchTiledMapRenderer> T.use(block: (T) -> Unit)

Automatically calls BatchTiledMapRenderer.beginRender and BatchTiledMapRenderer.endRender.

Parameters

block

inlined. Executed after BatchTiledMapRenderer.beginRender and before BatchTiledMapRenderer.endRender.