GetCurrentCamera Function
Gets the current game camera.
Syntax
TM::GameCamera@ GetCurrentCamera()
Return value
TM::GameCamera@
The current game camera. If the player is not in the race, null
will be returned.
Remarks
This function may be used to fetch current position and rotation of the camera. This allows for implementing UI’s which will copy the camera coordinates automatically, without having the user input them manually.