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; }
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; }