API ReferenceSandbox.Audio
AudioProcessorclass
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.
object→AudioProcessor
Constructors1
Showing 1 constructors
protected AudioProcessor()
No results match this filter.
Methods4
Showing 4 methods
public void Deserialize(System.Text.Json.Nodes.JsonObject node)
| Parameter | Type | Description |
|---|---|---|
| node | JsonObject | — |
Returns:
void—protected virtual void OnDestroy()
Returns:
void—protected virtual void ProcessSingleChannel(Sandbox.Audio.AudioChannel channel, System.Span`1<float> input)
| Parameter | Type | Description |
|---|---|---|
| channel | AudioChannel | — |
| input | Span<float> | — |
Returns:
void—public System.Text.Json.Nodes.JsonObject Serialize()
Returns:
JsonObject—No results match this filter.
Properties3
Showing 3 properties
public bool Sandbox.Audio.AudioProcessor.Enabled { get; set; }
Is this processor active?
Returns:
bool—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?
Returns:
float—No results match this filter.