Platforms to show: All Mac Windows Linux Cross-Platform

Back to SCNAudioSourceMBS class.

SCNAudioSourceMBS.audioSourceNamed(Name as String) as SCNAudioSourceMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method SceneKit MBS Mac64bit Plugin 22.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the audio source associated with the specified filename.

fileName: The name of an audio file. If this filename has not been previously requested, the method looks for an audio file with the specified name in the application’s main bundle.

This method looks in the system caches for an audio source with the specified name and returns that object if it exists. If a matching audio source is not already in the cache, this method locates the audio file with the specified name in the application’s main bundle, then creates a new audio source and caches it for reuse.

The items on this page are in the following plugins: MBS Mac64bit Plugin.


The biggest plugin in space...