INNER CODE UNIT · JavaScript

Audio

wasabia/three_dart · lib/three3d/audio/Audio.js:3

class Audio extends Object3D {

	constructor( listener ) {

		super();

		this.type = 'Audio';

		this.listener = listener;
		this.context = listener.context;

		this.gain = this.context.createGain();
		this.gain.connect( listener.getInput() );

		this.autoplay = false;

		this.buffer = null;
		this.detune = 0;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…