Click or drag to resize
SoWinViewerToggleCameraType Method

This routine will toggle the current camera from perspective to orthographic, and from orthographic back to perspective.

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public void ToggleCameraType()
Remarks

Note: It is not actually possible to "toggle" the type of a camera. In fact the current camera will be replaced by a new camera of the appropriate type. Of course the current camera node will be destroyed in the process unless it has been ref'd elsewhere.

See Also