Platforms to show: All Mac Windows Linux Cross-Platform
SCNAudioSourceMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | SceneKit | MBS Mac64bit Plugin | 22.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Example:
Dim file As FolderItem = SpecialFolder.Desktop.Child("Laser.wav")
audioSource = New SCNAudioSourceMBS(file)
audioSource.Volume = 1.0
audioSource.Loops = true
audioSource.load
// now use for SCNAudioPlayerMBS class
- 7 properties
- property Handle as Integer
- property Loops as Boolean
- property Positional as Boolean
- property Rate as Single
- property ReverbBlend as Single
- property ShouldStream as Boolean
- property Volume as Single
- 4 methods
- method Constructor(File as FolderItem)
- method Constructor(URL as String)
- method copy as SCNAudioSourceMBS
- method Load
- shared method audioSourceNamed(Name as String) as SCNAudioSourceMBS
This class has no sub classes.
Some methods using this class:
- SCNAudioPlayerMBS.audioPlayerWithSource(audioSource as SCNAudioSourceMBS) as SCNAudioPlayerMBS
- SCNAudioPlayerMBS.Constructor(audioSource as SCNAudioSourceMBS)
Some properties using for this class:
- SCNAudioPlayerMBS.audioSource as SCNAudioSourceMBS
The items on this page are in the following plugins: MBS Mac64bit Plugin.
SCNAudioPlayerMBS - SCNAvoidOccluderConstraintMBS
Feedback: Report problem or ask question.
