Script
Local Assets GLTF Example

- Author
- matas
- Created
- Jan 24, 2024, 3:01:59 PM
- Last edit
- Oct 2, 2025, 3:52:40 PM
Project
Getting Started Demos TypeScript
This project contains demo scripts for TypeScript Monaco editor that are used as examples in the "Getting Started" section of the documentation.
View full projectScript code
const start = async () => {
bitbybit.babylon.scene.useRightHandedSystem({
use: true,
});
const file = await bitbybit.asset.getLocalFile({
fileName: "BoomBox"
}) as File;
await bitbybit.babylon.io.loadAssetIntoScene({
assetFile: file,
hidden: false
});
}
start();
