mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
21 lines
584 B
TypeScript
21 lines
584 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/borisyankov/DefinitelyTyped
|
|
|
|
/// <reference path="./three.d.ts" />
|
|
|
|
declare module THREE {
|
|
export class VRControls {
|
|
constructor(camera: Camera, callback?: (param: string)=>void);
|
|
|
|
/**
|
|
* Update VR Instance Tracking
|
|
*/
|
|
update(): void;
|
|
zeroSensor(): void;
|
|
|
|
scale: number;
|
|
}
|
|
}
|