Click or drag to resize
SoCameraViewAll Method (SoPath, SbViewportRegion, Single)

Sets the camera to view the scene defined by the given path.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public void ViewAll(
	SoPath path,
	SbViewportRegion vpRegion,
	float slack
)

Parameters

path
Type: OIV.InventorSoPath
vpRegion
Type: OIV.InventorSbViewportRegion
slack
Type: SystemSingle
Remarks

The near and far clipping planes will be positioned slack bounding sphere radii away from the bounding box's center. A value of 1.0 will make the near and far clipping planes the tightest around the bounding sphere.

See note about bounding boxes in the sceneRoot version of this method.

See Also