1 | import { Nullable } from "@babylonjs/core/types";
|
2 | import { AnimationGroup } from "@babylonjs/core/Animations/animationGroup";
|
3 | import { TransformNode } from "@babylonjs/core/Meshes/transformNode";
|
4 | import { IScene, INode, IAnimation } from "../glTFLoaderInterfaces";
|
5 | import { IGLTFLoaderExtension } from "../glTFLoaderExtension";
|
6 | import { GLTFLoader } from "../glTFLoader";
|
7 |
|
8 |
|
9 |
|
10 | export declare class MSFT_audio_emitter implements IGLTFLoaderExtension {
|
11 |
|
12 | readonly name = "MSFT_audio_emitter";
|
13 |
|
14 | enabled: boolean;
|
15 | private _loader;
|
16 | private _clips;
|
17 | private _emitters;
|
18 |
|
19 | constructor(loader: GLTFLoader);
|
20 | /** @hidden */
|
21 | dispose(): void;
|
22 | /** @hidden */
|
23 | onLoading(): void;
|
24 | /** @hidden */
|
25 | loadSceneAsync(context: string, scene: IScene): Nullable<Promise<void>>;
|
26 | /** @hidden */
|
27 | loadNodeAsync(context: string, node: INode, assign: (babylonTransformNode: TransformNode) => void): Nullable<Promise<TransformNode>>;
|
28 | /** @hidden */
|
29 | loadAnimationAsync(context: string, animation: IAnimation): Nullable<Promise<AnimationGroup>>;
|
30 | private _loadClipAsync;
|
31 | private _loadEmitterAsync;
|
32 | private _getEventAction;
|
33 | private _loadAnimationEventAsync;
|
34 | }
|