Browse Source

Add screenSpacePanning property

WestLangley 7 years ago
parent
commit
40d832de58
1 changed files with 6 additions and 8 deletions
  1. 6 8
      docs/examples/controls/OrbitControls.html

+ 6 - 8
docs/examples/controls/OrbitControls.html

@@ -202,14 +202,6 @@ controls.mouseButtons = {
       The camera being controlled.
     </div>
 
-    <h3>[property:Integer panningMode]</h3>
-    <div>
-    Panning mode. Defines how the camera's position is translated when panning.
-    The options are THREE.ScreenSpacePanning, in which the camera pans in screen space,
-    and THREE.HorizontalPanning, in which the camera pans in the plane orthogonal to the camera's up direction.
-    Default is THREE.ScreenSpacePanning.
-    </div>
-
     <h3>[property:Float panSpeed]</h3>
     <div>
       Speed of panning. Default is 1.
@@ -225,6 +217,12 @@ controls.mouseButtons = {
       Speed of rotation. Default is 1.
     </div>
 
+    <h3>[property:Boolean screenSpacePanning]</h3>
+    <div>
+    Defines how the camera's position is translated when panning. If true, the camera pans in screen space.
+    Otherwise, the camera pans in the plane orthogonal to the camera's up direction. Default is false.
+    </div>
+
     <h3>[property:Vector3 target0]</h3>
     <div>
       Used internally by the [method:saveState] and [method:reset] methods.