@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
14 lines (13 loc) • 367 B
TypeScript
export class DeviceOrientationControls extends EventDispatcher<any> {
constructor(object: any);
object: any;
enabled: boolean;
deviceOrientation: {};
screenOrientation: number;
alphaOffset: number;
connect: () => void;
disconnect: () => void;
update: () => void;
dispose: () => void;
}
import { EventDispatcher } from 'three';