Files
DefinitelyTyped/three/three-vrcontrols.d.ts
Andy Hanson 89fa98a712 WIP
WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
2016-11-28 11:16:06 -08:00

24 lines
672 B
TypeScript

// Type definitions for three.js (VRControls.js)
// Project: https://github.com/mrdoob/three.js/blob/master/examples/js/controls/VRControls.js
// Definitions by: Toshiya Nakakura <https://github.com/nakakura>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="three" />
/// <reference types="webvr-api" />
declare namespace THREE {
export class VRControls {
constructor(camera: Camera, callback?: (param: string) => void);
/**
* Update VR Instance Tracking
*/
update(): void;
zeroSensor(): void;
scale: number;
setVRDisplay(display: VRDisplay): void;
}
}