Versions Compared

Key

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

...

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/build/api_ref/typedocviewing/classes/communicatorCommunicator.operatorOperator.cameraorbitoperator.html#setprimarybuttonCameraOrbitOperator.html?highlight=setprimarybutton#setprimarybutton

Sample code:

View file
nameoperator_orbit_primary_button.zip

...