autoPosCamera
Triggers an automatic camera positioning.
Signatures
- Paramate.Viewport.autoPosCamera( doRedraw = false )
Details
Calling this function performs an auto-positioning of the camera (irrespective of whether auto positioning is turned on or off) and eventually redraws the image.
Parameters
- doRedraw
-
(optional) If this argument is present and has a value 'true' the function implicitly calls redraw after the camera was changed.
- toCenter
-
(optional) If this argument is present and has a value 'true' the function will also position the camera in a way that the object is in the center, not only fitting the frame, even after changing the center of rotation.