Click or drag to resize
SoWinExaminerViewerConstrainCameraRotation Method (Boolean, Boolean, Boolean)

Constrains the camera to spin around the specified axis.

Namespace: OIV.Inventor.Win.Viewers
Assembly: OIV.Inventor.Win (in OIV.Inventor.Win.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public void ConstrainCameraRotation(
	bool x,
	bool y,
	bool z
)

Parameters

x
Type: SystemBoolean

If false, rotation around x axis is allowed.

y
Type: SystemBoolean

If false, rotation around y axis is allowed.

z
Type: SystemBoolean

If false, rotation around z axis is allowed.

Remarks

For instance giving true, true, false will prevent the camera from rotating around the Z axis. Default is free rotation.

See Also