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

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

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
public void ViewIn(
	SoNode node,
	SbViewportRegion vpRegion
)

Parameters

node
Type: OIV.Inventor.NodesSoNode

root node of 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