SoWinExaminerViewerSetConstrainedViewingMode Method |
Sets the constrained viewing mode.
Namespace: OIV.Inventor.Win.Viewers
public void SetConstrainedViewingMode( SoWinExaminerViewerConstrainedViewingModes mode )
This method is useful to associate a key combination with a constrained mode. Notes:
There is no need to set the viewing mode to VIEWING_MODE_SPIN_CONSTRAINED to apply a constraint.
When the constrained mode is set to NONE, the automatic constraints apply if VIEWING_MODE_SPIN_CONSTRAINED is set.
This setting is a "one shot". It only applies to the next mouse button down event.