onDebugRender

List of 'debugRender' callbacks called when debugRender is called. Add any additional callbacks directly to this list. The main use is to add callbacks directly to nodes inline when building a SceneGraph vs having to extend a class directly.

node {
onDebugRender += { batch, camera, shapeRenderer ->
// handle debug render logic
}
}