Function ImportAnimationsAsync
-
ImportAnimationsAsync(
source: SceneSource,
scene: Scene,
options?: ImportAnimationsOptions,
): Promise<void>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
is the instance of BABYLON.Scene to append to
Optionaloptions: ImportAnimationsOptionsan object that configures aspects of how the scene is loaded
Returns Promise<void>
A promise that resolves when the animations are imported
- source: SceneSource
Import animations from a file into a scene