API ReferenceSandbox.Audio
public abstract class Sandbox.Audio.AudioProcessor
Takes a bunch of samples and processes them. It's common for these to be chained together. It's also common for the processor to store state between calls.
Constructors
Showing 1 constructors
protected AudioProcessor()
No results match this filter.
Methods
Showing 4 methods
public void Deserialize(System.Text.Json.Nodes.JsonObject node)
protected virtual void OnDestroy()
protected virtual void ProcessSingleChannel(Sandbox.Audio.AudioChannel channel, System.Span`1<float> input)
public System.Text.Json.Nodes.JsonObject Serialize()
No results match this filter.
Properties
Showing 3 properties
public bool Sandbox.Audio.AudioProcessor.Enabled { get; set; }
Is this processor active?
protected Transform Sandbox.Audio.AudioProcessor.Listener { get; set; }
The listener's position in this frame.
public float Sandbox.Audio.AudioProcessor.Mix { get; set; }
Should we fade the influence of this processor in?
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Audio |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Audio.AudioProcessor |