Click or drag to resize
SoWinViewerGetCamera Method

Gets the camera controlled by the viewer.

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public SoCamera GetCamera()

Return Value

Type: SoCamera
Remarks

Warning: Do not store this pointer. The viewer will destroy the current camera and create a new one if the user switches between perspective and orthographic projection. See also OIV.Inventor.Win.Viewers.SoWinViewer.CameraTypeChangeCallback.

See Also