Click or drag to resize
SoCameraViewAll Method (SbBox3f, SbViewportRegion)

Sets the camera to view the region defined by the given bounding box.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void ViewAll(
	SbBox3f bbox,
	SbViewportRegion vpRegion
)

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