withCamera

inline fun DrawScope.withCamera(camera: Camera2D?, parallax: Float = 1.0f, block: DrawScope.() -> Unit)

Draws block through camera, moved parallax as far as the camera moves: less for far layers.