SoPerspectiveCameraGetViewVolume Method (Single) |
Fills in a view volume structure, based on the camera.
Namespace: OIV.Inventor.Nodes
If the useAspectRatio field is not 0.0 (the default), the camera uses that ratio instead of the one it has.
Note that in ADJUST_CAMERA mode, Inventor automatically modifies the view volume based on the aspect ratio of the viewport. However the view volume values are not changed, only the values passed to OpenGL. In order to get the modified values (i.e., the actual view volume used to render) you must pass the actual viewport aspect ratio to getViewVolume.