Class MapSoundManager
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public class MapSoundManager
- Inheritance
-
objectMapSoundManager
- Extension Methods
Constructors
MapSoundManager(IMapModel, Viewport, AudioListener, BuildingSoundManager, ISoundPlayer, ISimulationSpeedReader, MapSoundSettings, ILogger)
public MapSoundManager(IMapModel map, Viewport viewport, AudioListener audioListener, BuildingSoundManager soundManager, ISoundPlayer soundPlayer, ISimulationSpeedReader simulationSpeed, MapSoundSettings settings, ILogger logger)
Parameters
mapIMapModelviewportViewportaudioListenerAudioListenersoundManagerBuildingSoundManagersoundPlayerISoundPlayersimulationSpeedISimulationSpeedReadersettingsMapSoundSettingsloggerILogger
Fields
ActiveBuildings
public readonly List<MapSoundManager.ActiveBuilding> ActiveBuildings
Field Value
BeltAmbiencePosition
public float3 BeltAmbiencePosition
Field Value
- float3
BeltAmbienceScore
public float BeltAmbienceScore
Field Value
- float
BeltAmbienceVolume
public float BeltAmbienceVolume
Field Value
- float
Clusters
public readonly MapSoundManager.Cluster[] Clusters
Field Value
- Cluster[]
CurrentChunksPlayingSounds
public readonly HashSet<GlobalChunkCoordinate> CurrentChunksPlayingSounds
Field Value
- HashSet<GlobalChunkCoordinate>
Settings
public readonly MapSoundSettings Settings
Field Value
Properties
IsActive
public bool IsActive { get; set; }
Property Value
- bool
Methods
Dispose()
public void Dispose()
UpdateBeforeLogic(MapCullResult)
public void UpdateBeforeLogic(MapCullResult cullResult)
Parameters
cullResultMapCullResult