Savecamera¶
Saves the current camera's configuration and limits for retrieval later using loadcamera.
Syntax¶
|savecamera|
Parameters¶
None.
Remarks¶
Specifically, it saves the following fields using SaveCameraPosition(true)
:
tempcampos
is set tocamtargetpos
tempcamoffset
is set tocamoffset
tempcamspeed
is set tocamspeed
tempcamangleoffset
is set tocamangleoffset
tempcamtarget
is set tocamtarget
tempmaplp
is set tomap.camlimitpos
tempmapln
is set tomap.camlimitneg
They can be loaded back to their saved value using loadcamera, but it is also possible to do the same by calling SaveCameraPosition(false)
.