KtxQueryCallback

typealias KtxQueryCallback = (fixture: Fixture) -> Boolean

Callback lambda for querying with an AABB.

This lambda is called for each fixture the AABB overlaps.

There is no guarantee on the order of the callback is called.

The lambda returns whether to terminate the query.

Can be used in place of com.badlogic.gdx.physics.box2d.QueryCallback via Kotlin SAM conversion.

See also