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

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

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

Parameters

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

Equivalent to calling the OIV.Inventor.Nodes.SoCamera method OIV.Inventor.ViewerComponents.SoCameraInteractor.ViewAll(OIV.Inventor.SoPath, OIV.Inventor.SbViewportRegion). The camera position is changed, but not the orientation.

  • Orthographic camera: the height field is changed.

  • Perspective camera: the heightAngle field is NOT changed.

See Also