@babylonjs/materials
Version:
For usage documentation please visit the [materials library documentation](https://doc.babylonjs.com/toolsAndResources/assetLibraries/materialsLibrary/).
14 lines • 555 B
JavaScript
/* eslint-disable @typescript-eslint/no-restricted-imports */
import * as MatLib from "../gradient/index.js";
/**
* This is the entry point for the UMD module.
* The entry point for a future ESM package should be index.ts
*/
const GlobalObject = typeof global !== "undefined" ? global : typeof window !== "undefined" ? window : undefined;
if (typeof GlobalObject !== "undefined") {
for (const key in MatLib) {
GlobalObject.BABYLON[key] = MatLib[key];
}
}
export * from "../gradient/index.js";
//# sourceMappingURL=legacy-gradient.js.map