All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ch.viseon.threejs.declarations.audio.AudioContext.kt Maven / Gradle / Ivy

Go to download

Kotlin wrapper for ThreeJs, javascript library for 3d rendering

There is a newer version: 126.0.0
Show newest version
@file:JsModule("three")
package ch.viseon.threejs.declarations.audio

	/**
	* This contains methods for setting up an [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioContext AudioContext]. Used internally by the [page:AudioListener AudioListener] and [page:AudioLoader AudioLoader] classes. This uses the [link:https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_API Web Audio API].
	*/
open external class AudioContext{

	/**
	* Return the value of the variable **context** in the outer scope, if defined, otherwise set it to a new [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioContext AudioContext].
	*/
	open fun getContext() : dynamic


	/**
	* Set the variable **context** in the outer scope to **value**.
	*/
	open fun setContext(value: dynamic = definedExternally) : dynamic
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy