Beispiel #1
0
 public PDSpatializer(PDEditorModule editorModule, PDPlayer pdPlayer)
 {
     this.moduleName    = editorModule.Name;
     this.source        = editorModule.Source;
     this.volumeRolloff = editorModule.VolumeRolloff;
     this.minDistance   = editorModule.MinDistance;
     this.maxDistance   = editorModule.MaxDistance;
     this.panLevel      = editorModule.PanLevel;
     this.pdPlayer      = pdPlayer;
 }
Beispiel #2
0
 public PDEditorModule(string name, PDEditorModule editorModule, PDPlayer pdPlayer)
 {
     this.name          = name;
     this.volume        = editorModule.Volume;
     this.source        = editorModule.Source;
     this.volumeRolloff = editorModule.VolumeRolloff;
     this.minDistance   = editorModule.MinDistance;
     this.maxDistance   = editorModule.MaxDistance;
     this.panLevel      = editorModule.PanLevel;
     this.pdPlayer      = pdPlayer;
 }