I am wondering if there is an easy way to know which layers are currently visible by the camera? I have looked at the docs and it does not seem clear that I can do this. I would like to call something like camera.layers.currentlyVisible() and be returned an array of the currently visible layers like [0, 1, 3]
Any response would be greatly appreciated! Thank you