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.1.1.0 (2024.1.1)
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