Click or drag to resize
SoCameraInteractorViewIn Method (SoPath, SbViewportRegion)

Move camera to the center of the scene defined by the specified path.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void ViewIn(
	SoPath path,
	SbViewportRegion vpRegion
)

Parameters

path
Type: OIV.InventorSoPath

path to the scene

vpRegion
Type: OIV.InventorSbViewportRegion

the actual viewport region

Remarks

Compute the bounding box of the scene and move the camera to the center of this box. The near and far clipping planes will be adjusted to see the inside of the box.

See Also