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.2.2.0 (10.16.2.0)
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