Show / Hide Table of Contents

Class AmbientSoundSystem

Samples nearby AmbientSoundComponent and plays audio.

Inheritance
System.Object
SharedAmbientSoundSystem
AmbientSoundSystem
Namespace: Content.Client.Audio
Assembly: Content.Client.dll
Syntax
public sealed class AmbientSoundSystem : SharedAmbientSoundSystem

Properties

| Improve this Doc View Source

OverlayEnabled

Declaration
public bool OverlayEnabled { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
Overrides
SharedAmbientSoundSystem.Initialize()
| Improve this Doc View Source

IsActive(AmbientSoundComponent)

Is this AmbientSound actively playing right now?

Declaration
public bool IsActive(AmbientSoundComponent component)
Parameters
Type Name Description
AmbientSoundComponent component
Returns
Type Description
System.Boolean
| Improve this Doc View Source

QueueUpdate(EntityUid, AmbientSoundComponent)

Declaration
protected override void QueueUpdate(EntityUid uid, AmbientSoundComponent ambience)
Parameters
Type Name Description
EntityUid uid
AmbientSoundComponent ambience
| Improve this Doc View Source

Shutdown()

Declaration
public override void Shutdown()
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾