diff --git a/docs/examples/en/controls/DeviceOrientationControls.html b/docs/examples/en/controls/DeviceOrientationControls.html index 8ea8bccfa2b791..34cdd9ea0cb4b8 100644 --- a/docs/examples/en/controls/DeviceOrientationControls.html +++ b/docs/examples/en/controls/DeviceOrientationControls.html @@ -12,7 +12,7 @@

[name]

- Can be used to orient an object based on the mobile device's orientation. + Can be used to orient the camera based on the mobile device's orientation.

Example

@@ -21,10 +21,10 @@

Example

Constructor

-

[name]( [param:Object3D object] )

+

[name]( [param:Camera object] )

- [page:Object3D object]: The object to be controlled. + [page:Camera object]: The camera to be controlled.

Creates a new instance of [name]. @@ -48,9 +48,9 @@

[property:Boolean enabled]

Whether or not the controls are enabled.

-

[property:Object3D object]

+

[property:Camera object]

- The object to be controlled. + The camera to be controlled.

[property:Number screenOrientation]

diff --git a/examples/jsm/controls/DeviceOrientationControls.d.ts b/examples/jsm/controls/DeviceOrientationControls.d.ts index c37784677aaac2..451d61a196229d 100644 --- a/examples/jsm/controls/DeviceOrientationControls.d.ts +++ b/examples/jsm/controls/DeviceOrientationControls.d.ts @@ -1,12 +1,12 @@ import { - Object3D + Camera } from '../../../src/Three'; export class DeviceOrientationControls { - constructor( object: Object3D ); + constructor( object: Camera ); - object: Object3D; + object: Camera; // API