Camera (class)

This class provides access to the SMBX cameras. NOTE: Only access this class in onCameraUpdate if you want the correct values or overwrite these values!

Instance functions
These fields and functions are part of Camera Objects and have to be called for that object. Trying to call them from the static Camera class will result in an error. Example (feel free to copy it into your lua file to see how it works):