Function ImportMeshAsync
-
ImportMeshAsync(
source: SceneSource,
scene: Scene,
options?: ImportMeshOptions,
): Promise<ISceneLoaderAsyncResult>Parameters
- source: SceneSource
a string that defines the name of the scene file, or starts with "data:" following by the stringified version of the scene, or a File object, or an ArrayBufferView
- scene: Scene
the instance of BABYLON.Scene to append to
Optionaloptions: ImportMeshOptionsan object that configures aspects of how the scene is loaded
Returns Promise<ISceneLoaderAsyncResult>
The loaded list of imported meshes, particle systems, skeletons, and animation groups
- source: SceneSource
Import meshes into a scene