SoCameraViewportMappings Enumeration |
Viewport mapping.
Namespace: OIV.Inventor.Nodes
Member name | Value | Description | |
---|---|---|---|
CROP_VIEWPORT_FILL_FRAME | 0 | 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_FRAME | 1 | Crops the viewport, but draws a thin frame around the viewport. | |
CROP_VIEWPORT_NO_FRAME | 2 | Crops the viewport, but gives no visual feedback as to the viewport dimensions within the window. | |
ADJUST_CAMERA | 3 | 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_ALONE | 4 | Do nothing. Camera image may become stretched out of proportion |