SoWinExaminerViewerConstrainCameraRotation Method (Boolean, Boolean, Boolean) |
Constrains the camera to spin around the specified axis.
Namespace: OIV.Inventor.Win.ViewersAssembly: 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
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Sub ConstrainCameraRotation (
x As Boolean,
y As Boolean,
z As Boolean
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
void ConstrainCameraRotation(
bool x,
bool y,
bool z
)
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
member ConstrainCameraRotation :
x : bool *
y : bool *
z : bool -> unit
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