OptionalanimateOptionalanimationThe total animation time in milliseconds, only effective when animate is set to true
OptionalmarginAn optional margin (in percentage of total viewer size) to use as a buffer round the selected models. A perspective camera fits the bounding sphere of the objects, an orthographic one (fov 0) their bounding box as the screen sees it.
OptionalrotationHow the Viewer2d rotates the plan while fitting, default "KEEP" (2D only)
OptionalrotationThe object whose oriented bounding box orients the plan for rotation "OBJECT_AXIS" (2D only)
OptionaltargetOptional target in 3D
OptionalupdateWhether the pivot should be updated to the center of the aabb of the given objects
OptionalviewOptional view direction in 3D
Whether to animate, when omitted this will default to what has been defined on the Viewer