Installing

Install using npm

From the root folder of your WebGL project , you can add the SDK as a dependency.

$ npm install leiawebglsdk

Once installed , you can import and consume the classes from the SDK

main.js
import * as THREE from 'three';
import RenderController from 'leiawebglsdk/src/RenderController.js';
import BackLightController from 'leiawebglsdk/src/BackLightController.js';
import { BacklightMode } from 'leiawebglsdk/src/Constants.js';

Last updated

Copyright © 2023 Leia Inc. All Rights Reserved