resetCamera

Sets the camera to its reset position.

Signatures

  • Paramate.Viewport.resetCamera( doRedraw ) The camera gets set to a reset position that can be defined with the setCameraResetfunction. If no reset position was given, the camera is set to a default reset position: the camera is placed on the positive X axis, looking towards the origin (i.e. into negative X direction); the +Y axis points to the right and the +Z axis to the top of the camera.

Parameters

doRedraw

(optional) If this argument is present and has a value 'true' the function will call function redrawimplicitly after the camera positioning.

See also