I'm looking at the Player object and while it does have LookAt() which allows the player's view to be changed, I don't see a corresponding function to read the player's current view?

I'd like to implement macros which will quickly switch between predefined (static) view and the player's current view (which is, obviously, dynamic). As far as I can tell, in order to do this, I need to store the player's current view, go to the predefined static view and then restore the player's saved view when the player wants to return to this previous view.

I know this can be done using the camera save functions but I'd like to do this though scripting so that I can attach it to UI buttons.

Any suggestions on how I can achieve this?