Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You can set the primary mouse button using Communicator.Operator.CameraOrbitOperator.setPrimaryButton to orbit around the selected point on the model with this button. The default button is middle.
When you want to change the primary button to right button, add mapping for right button and set primary button.

Code Block
var operator = _this._operatorManager.getOperator(Communicator.OperatorId.Orbit);
operator.setPrimaryButton(Communicator.Button.Right);
operator.addMapping(Communicator.Button.Right);

setPrimaryButton https://docs.techsoft3d.com/communicator/latest/api_ref/viewing/classes/Communicator.Operator.CameraOrbitOperator.html?highlight=setprimarybutton#setprimarybutton

Sample code:

...

Learn more in our forum post.

Related articles

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@231892
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "KBHC"
labelskb-how-to-article

...