@vrspace/babylonjs
Version:
vrspace.org babylonjs client
26 lines (25 loc) • 666 B
TypeScript
/**
Wrapper around BabylonJS XR/VR classes, whatever is available in current browser, if any.
Attached to a World, places the world mesh somewhere in real world TODO
*/
export class ARHelper {
/**
@param world attaches the control to the World
*/
initXR(world: any, enter: any): Promise<this>;
world: any;
xr: any;
featuresManager: any;
hitTest: any;
anchorSystem: any;
tracker: (results: any) => void;
enterAR(): Promise<any>;
startTracking(): void;
anchor: any;
tracking: boolean;
placeMarker(): Promise<void>;
createMarker(): void;
marker: any;
logo: any;
realWorldHeight(): number;
}