UNPKG

@bezlepkin/nativescript-ar

Version:

NativeScript Augmented Reality plugin. ARKit on iOS and (with the help of Sceneform) ARCore on Android.

12 lines (11 loc) 498 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ARTube = void 0; const arcommongeometry_1 = require("./arcommongeometry"); class ARTube extends arcommongeometry_1.ARCommonGeometryNode { static create(options, renderer) { const tube = SCNTube.tubeWithInnerRadiusOuterRadiusHeight(options.innerRadius, options.outerRadius, options.height); return new ARTube(options, SCNNode.nodeWithGeometry(tube), renderer); } } exports.ARTube = ARTube;