Initial project import
This commit is contained in:
29
node_modules/three-stdlib/controls/DeviceOrientationControls.d.ts
generated
vendored
Normal file
29
node_modules/three-stdlib/controls/DeviceOrientationControls.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import { Camera } from 'three';
|
||||
import { EventDispatcher } from './EventDispatcher';
|
||||
import { StandardControlsEventMap } from './StandardControlsEventMap';
|
||||
/**
|
||||
* W3C Device Orientation control (http://w3c.github.io/deviceorientation/spec-source-orientation.html)
|
||||
*/
|
||||
declare class DeviceOrientationControls extends EventDispatcher<StandardControlsEventMap> {
|
||||
object: Camera;
|
||||
private changeEvent;
|
||||
private EPS;
|
||||
enabled: boolean;
|
||||
deviceOrientation: Partial<DeviceOrientationEvent>;
|
||||
screenOrientation: string | number;
|
||||
alphaOffset: number;
|
||||
constructor(object: Camera);
|
||||
private onDeviceOrientationChangeEvent;
|
||||
private onScreenOrientationChangeEvent;
|
||||
private zee;
|
||||
private euler;
|
||||
private q0;
|
||||
private q1;
|
||||
private setObjectQuaternion;
|
||||
connect: () => void;
|
||||
disconnect: () => void;
|
||||
private lastQuaternion;
|
||||
update: () => void;
|
||||
dispose: () => void;
|
||||
}
|
||||
export { DeviceOrientationControls };
|
||||
Reference in New Issue
Block a user