@bezlepkin/nativescript-ar
Version:
NativeScript Augmented Reality plugin. ARKit on iOS and (with the help of Sceneform) ARCore on Android.
14 lines (13 loc) • 464 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ARGroup = void 0;
const arcommon_1 = require("./arcommon");
class ARGroup extends arcommon_1.ARCommonNode {
static create(options, fragment) {
return new Promise(async (resolve, reject) => {
const node = arcommon_1.ARCommonNode.createNode(options, fragment);
resolve(new ARGroup(options, node));
});
}
}
exports.ARGroup = ARGroup;