Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BabylonIO

Index

Constructors

constructor

  • Parameters

    • context: Context

    Returns BabylonIO

Methods

exportBabylon

  • Exports the whole scene to .babylon scene format. You can then edit it further in babylonjs editors.

    group

    export

    shortname

    babylon scene

    Parameters

    Returns void

exportGLB

  • Exports the whole scene to .glb format. This file format has become industry standard for web models.

    group

    export

    shortname

    gltf scene

    Parameters

    Returns void

exportMeshToStl

  • Exports the mesh with its children to stl

    group

    export

    shortname

    babylon mesh to stl

    Parameters

    Returns Promise<any>

exportMeshesToStl

  • Exports the meshes to stl

    group

    export

    shortname

    babylon meshes to stl

    Parameters

    Returns Promise<any>

loadAssetIntoScene

  • Imports mesh from the asset that you have uploaded for the project. You must upload your assets to your project via project management page.

    group

    load

    shortname

    asset

    Parameters

    Returns Promise<Mesh>

    scene loaded mesh

loadAssetIntoSceneFromRootUrl

  • Imports mesh from the asset url that you have uploaded to an accessible web storage. Keep in mind that files need to be publically accessible for this to work, be sure that CORS access is enabled for the assets.

    group

    load

    shortname

    asset from url

    Parameters

    Returns Promise<Mesh>

    scene loaded mesh

loadAssetIntoSceneFromRootUrlNoReturn

  • Imports mesh from the asset url that you have uploaded to an accessible web storage. Keep in mind that files need to be publically accessible for this to work, be sure that CORS access is enabled for the assets.

    group

    load

    shortname

    asset from url

    Parameters

    Returns Promise<void>

    scene loaded mesh

loadAssetIntoSceneNoReturn

  • loadAssetIntoSceneNoReturn(inputs: AssetFileDto): Promise<void>
  • Imports mesh from the asset that you have uploaded for the project. You must upload your assets to your project via project management page.

    group

    load

    shortname

    asset

    Parameters

    Returns Promise<void>

    scene loaded mesh

Generated using TypeDoc