@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
17 lines (16 loc) • 786 B
TypeScript
import { type IAbstractSoundInstanceOptions, _AbstractSoundInstance } from "./abstractSoundInstance.js";
import { type IStaticSoundOptionsBase, type IStaticSoundPlayOptions, type IStaticSoundStopOptions } from "./staticSound.js";
/**
* Options for creating a static sound instance.
* @internal
*/
export interface IStaticSoundInstanceOptions extends IAbstractSoundInstanceOptions, IStaticSoundOptionsBase {
}
/** @internal */
export declare abstract class _StaticSoundInstance extends _AbstractSoundInstance {
protected abstract readonly _options: IStaticSoundInstanceOptions;
abstract pitch: number;
abstract playbackRate: number;
abstract play(options: Partial<IStaticSoundPlayOptions>): void;
abstract stop(options?: Partial<IStaticSoundStopOptions>): void;
}