natiny.camera.unbind

Lua
natiny.camera.unbind()

Ends the camera bind: drawing goes back to the target's default 2D projection.

Example

Lua
natiny.camera.unbind()

Notes

  • This is equivalent to binding no camera; it does not restore the previously bound camera.
  • Unbinding a surface restores the camera matrices saved for the suspended target; see The bind stack.