|
|
преди 10 години | |
|---|---|---|
| .. | ||
| README.md | преди 10 години | |
| babylon.glTFFileLoader.js | преди 10 години | |
| babylon.glTFFileLoader.ts | преди 10 години | |
| babylon.glTFFileLoaderInterfaces.js | преди 10 години | |
| babylon.glTFFileLoaderInterfaces.ts | преди 10 години | |
The glTF file loader is a SceneLoader plugin. Just reference the loader in your HTML file:
<script src="babylon.2.1.js"></script>
<script src="babylon.glTFFileLoader.js"></script>
And then, call the scene loader:
BABYLON.SceneLoader.Load("./", "duck.gltf", engine, function (scene) {
// do somethings with the scene
});