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.2.2.0 (10.16.2.0)
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