UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

21 lines (16 loc) 591 B
// 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 path="./three.d.ts" /> declare namespace THREE { export class VRControls { constructor(camera: Camera, callback?: (param: string)=>void); /** * Update VR Instance Tracking */ update(): void; zeroSensor(): void; scale: number; } }