API ReferenceSandbox
public sealed class Sandbox.SoundPointComponent : Sandbox.BaseSoundComponent
Plays a sound at a point in the world.
Related Guides
Broader workflow and conceptual references connected to this API.
Playing Sounds
s&box provides several ways to play sounds in code. You can fire-and-forget a sound at a world position, control it via a SoundHandle, attach it to a GameObject, or use scene components entirely.
Sound
s&box has a full audio system including 2D/3D sound playback, voice chat, positional audio, an audio effects pipeline, and lip sync support.
Constructors
Showing 1 constructors
public SoundPointComponent()
No results match this filter.
Methods
Showing 2 methods
public virtual void StartSound()
public virtual void StopSound()
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.SoundPointComponent |