Local Assets GLTF Example

Local Assets GLTF Example script details
Author
matas
Type
Typescript logo image
typescript
App Version
0.14.0
Visibility
public
Date Created
Jan 24, 2024, 3:01:59 PM
Last Edit Date
Jan 25, 2024, 1:11:56 PM

Script Details

The 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();