SoCameraViewAll Method (SbBox3f, SbViewportRegion) |
Sets the camera to view the region defined by the given bounding box.
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void ViewAll(
SbBox3f bbox,
SbViewportRegion vpRegion
)
Public Sub ViewAll (
bbox As SbBox3f,
vpRegion As SbViewportRegion
)
public:
void ViewAll(
SbBox3f bbox,
SbViewportRegion vpRegion
)
member ViewAll :
bbox : SbBox3f *
vpRegion : SbViewportRegion -> unit
Parameters
- bbox
- Type: OIV.InventorSbBox3f
- vpRegion
- Type: OIV.InventorSbViewportRegion
Remarks The near and far clipping planes will be positioned the radius of the bounding sphere away from the bounding box's center.
See note about bounding boxes in the sceneRoot version of this method.
See Also