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: 2024.1.1.0 (2024.1.1)
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