A universal runtime library for advanced BabylonJS game development. The Babylon Toolkit requires the BABYLON and TOOLKIT namespaces to be globally accessible.
Classic Edition (UMD)
Browser Edition (CDN)
Demo React Project (TSX)
npm install babylon-toolkit-next
npm install @babylonjs/core @babylonjs/gui @babylonjs/loaders @babylonjs/materials @babylonjs/havok babylon-toolkit-next
- Default Toolkit Import Libraries
import * as BABYLON from '@babylonjs/core';
import '@babylonjs/gui';
import '@babylonjs/materials';
import '@babylonjs/loaders/glTF';
import HavokPhysics from "@babylonjs/havok";
import TOOLKIT from 'babylon-toolkit';
- TypeScript Configuration Settings (tsconfig.json)
"types": [
"@babylonjs/core",
"@babylonjs/gui",
"@babylonjs/havok",
"@babylonjs/loaders",
"@babylonjs/materials"
]
Note: The BABYLON namespace is imported from the core and is globally accessible.