|
7 роки тому | |
---|---|---|
.vscode | 7 роки тому | |
Exporters | 7 роки тому | |
Playground | 7 роки тому | |
Tools | 7 роки тому | |
Viewer | 7 роки тому | |
assets | 7 роки тому | |
dist | 7 роки тому | |
gui | 7 роки тому | |
inspector | 7 роки тому | |
loaders | 7 роки тому | |
localDev | 7 роки тому | |
materialsLibrary | 7 роки тому | |
postProcessLibrary | 7 роки тому | |
proceduralTexturesLibrary | 7 роки тому | |
sandbox | 7 роки тому | |
serializers | 7 роки тому | |
src | 7 роки тому | |
tests | 7 роки тому | |
.gitattributes | 9 роки тому | |
.gitignore | 7 роки тому | |
.gitmodules | 11 роки тому | |
.travis.yml | 7 роки тому | |
bower.json | 8 роки тому | |
contributing.md | 8 роки тому | |
favicon.ico | 7 роки тому | |
license.md | 8 роки тому | |
package.json | 7 роки тому | |
readme.md | 7 роки тому | |
tslint.json | 7 роки тому | |
what's new.md | 7 роки тому |
Getting started? Play directly with the Babylon.js API via our playground. It contains also lot of simple samples to learn how to use it.
Any questions? Here is our official forum on www.html5gamedevs.com.
Additional references can be found on https://cdn.babylonjs.com/xxx where xxx is the folder structure you can find in the /dist folder like https://cdn.babylonjs.com/gui/babylon.gui.min.js
For preview release you can use the following ones:
Additional references can be found on https://preview.babylonjs.com/xxx where xxx is the folder structure you can find in the /dist/preview release folder like https://preview.babylonjs.com/gui/babylon.gui.min.js
BabylonJS and its modules are published on NPM with full typing support. To install use
npm install babylonjs --save
This will allow you to import BabylonJS entirely using:
import * as BABYLON from 'babylonjs';
or individual classes using:
import { Scene, Engine } from 'babylonjs';
If using TypeScript, don't forget to add 'babylonjs' to 'types' in tsconfig.json:
....
"types": [
"babylonjs",
"anotherAwesomeDependency"
],
....
To add a module install the respected package. A list of extra packages and their installation instructions can be found on babylonjs' user at npm.
Preview version of 3.2 can be found here. If you want to contribute, please read our contribution guidelines first.
To get a complete list of supported features, please visit our website.