UNPKG

iv-3d-lib

Version:

A reusable ThreeJS library providing features for Ivee 3D Editor.

20 lines 498 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SkyBoxPlugin = void 0; class SkyBoxPlugin { init() { } load() { this.addSkyBox(); } update(time) { } addSkyBox() { let cfg = { srcFile: this.config['srcFile'], size: this.config['size'] }; this.w.addSkyBoxFromFile(cfg, this.mainGroup); } } exports.SkyBoxPlugin = SkyBoxPlugin; //# sourceMappingURL=skybox-plugin.js.map