download
raw
957 Bytes
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 };

Xet Storage Details

Size:
957 Bytes
·
Xet hash:
9209ad1d880ced92650c3998cf11062bc76d2fe48ab2c878a1001c7e0df0b5c0

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.