如何在 Babylon.js 中反转鼠标按下并拖动

How to invert the mouse press-and-drag in Babylon.js

以默认游乐场为例(playground.babylonjs.com)

如何反转鼠标按下和拖动的方向?

var createScene = function () {
    var scene = new BABYLON.Scene(engine);

    var camera = new BABYLON.FreeCamera("camera1", new BABYLON.Vector3(0, 5, -10), scene);
    camera.setTarget(BABYLON.Vector3.Zero());   
    camera.attachControl(canvas, true);

    var light = new BABYLON.HemisphericLight("light", new BABYLON.Vector3(0, 1, 0), scene);   
    light.intensity = 0.7;

    var sphere = BABYLON.MeshBuilder.CreateSphere("sphere", {diameter: 2, segments: 32}, scene);    
    sphere.position.y = 1;

    var ground = BABYLON.MeshBuilder.CreateGround("ground", {width: 6, height: 6}, scene);

    return scene;
};

我看错了文档,它一直在那里:

camera.invertRotation = true;