...
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 | ||
---|---|---|
|
...