Click or drag to resize
SoCameraViewportMappings Enumeration

Viewport mapping.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public enum ViewportMappings
Members
  Member nameValueDescription
CROP_VIEWPORT_FILL_FRAME0

Crops the viewport within the current window, so that the aspect ratio matches that of the camera.

As the window size changes, the aspect ratio remains unchanged. The cropped region is drawn as a filled gray area.

CROP_VIEWPORT_LINE_FRAME1

Crops the viewport, but draws a thin frame around the viewport.

CROP_VIEWPORT_NO_FRAME2

Crops the viewport, but gives no visual feedback as to the viewport dimensions within the window.

ADJUST_CAMERA3

Adjusts the camera aspect ratio and height to make it fit within the given window.

(The camera's fields are not affected, just the values sent to the graphics library.)

LEAVE_ALONE4

Do nothing.

Camera image may become stretched out of proportion

Remarks