@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.
20 lines • 648 B
JavaScript
import { _StereoAudioDefaults, AbstractStereoAudio } from "../../abstractAudio/subProperties/abstractStereoAudio.js";
import { _SetStereoAudioProperty } from "../subNodes/stereoAudioSubNode.js";
/** @internal */
export class _StereoAudio extends AbstractStereoAudio {
/** @internal */
constructor(subGraph) {
super();
this._pan = _StereoAudioDefaults.pan;
this._subGraph = subGraph;
}
/** @internal */
get pan() {
return this._pan;
}
set pan(value) {
this._pan = value;
_SetStereoAudioProperty(this._subGraph, "pan", value);
}
}
//# sourceMappingURL=stereoAudio.js.map