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 |
To create positional audio effects, create an SCNAudioPlayerMBS object from the audio source to control playback, and add that player object to an SCNNodeMBS object in your scene. SceneKit then automatically spatializes 3D audio effects based on the position of that node relative to the scene’s audioListener node.
- 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
Blog Entries
- News from the MBS Xojo Plugins Version 22.3
- MBS Xojo Plugins in version 22.3
- MBS Xojo Plugins, version 22.3pr3
Release notes
- Version 22.3
- Added SCNAudioPlayerMBS and SCNAudioSourceMBS classes for audio in SceneKit.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
SCNAudioPlayerMBS - SCNAvoidOccluderConstraintMBS