Click or drag to resize
SoWinExaminerViewerSpinConstrainedCamera Method

Spin the constrained camera based on cursor motion.

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void SpinConstrainedCamera(
	SbVec2f newLocator,
	int axisIndex
)

Parameters

newLocator
Type: OIV.InventorSbVec2f

The new cursor position. The coordinates are in normalized device coordinates with x and y in the range [0,1] with min y at the bottom and min x on the left.

axisIndex
Type: SystemInt32

the axis index:

  • X = 0

  • Y = 1

  • Z = 2

Remarks

See Also