Click or drag to resize
SoCameraInteractorViewZ Method (Boolean)

Rotate camera to look parallel to the Z axis with +Y up.

Namespace: OIV.Inventor.ViewerComponents
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public void ViewZ(
	bool reverse
)

Parameters

reverse
Type: SystemBoolean

If false, rotate to look in the -Z direction, else in +Z direction.

Remarks

NOTE: The camera position is not changed, so the camera may not be looking toward the scene. Calling OIV.Inventor.ViewerComponents.SoCameraInteractor.ViewAll(OIV.Inventor.SoPath, OIV.Inventor.SbViewportRegion) will move the camera so that the scene is visible again.

See Also