@movable/studio-ar
Copyright Movable, Inc. All rights reserved.
Utilities for building augmented reality applications with Studio.
It includes a Studio AR app base class, which you can customize.
Installation
yarn add @movable/studio-ar
Usage
import ArApp from '@movable/studio-ar';
import Panel from '@movable/studio-ar/panel';
import { LoadingPanel, ReviewPanel, SharePanel, LandscapePanel, ErrorPanel, MobileFirstPanel } from '@movable/studio-ar/panels';
class VideoPanel extends Panel {
render() {
}
activate() {
}
deactivate() {
}
};
class MyArApp extends ArApp {
constructor() {
super();
this.panels = this.collectPanels([LoadingPanel, VideoPanel, ReviewPanel, MySharePanel, ErrorPanel, LandscapePanel, MobileFirstPanel]);
}
render() {
super.render();
}
}
export default MyArApp;