API ReferenceSandbox.Audio

PerChannel<T>class

Stores a variable per channel

object→PerChannel<T>
Namespace
Sandbox.Audio
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.Audio.PerChannel<T>

Constructors1

Showing 1 constructors

public PerChannel<T>()PUBLICCONSTRUCTOR

Methods2

Showing 2 methods

public T Get(Sandbox.Audio.AudioChannel i)PUBLIC

Get the value in a channel

ParameterTypeDescription
iAudioChannel—
Returns:T—

public void Set(Sandbox.Audio.AudioChannel i, T value)PUBLIC

ParameterTypeDescription
iAudioChannel—
valueT—
Returns:void—

Properties1

Showing 1 properties

public T[] Sandbox.Audio.PerChannel<T>.Value { get; set; }PUBLICGETSETOBSOLETE

Obsolete: This API member is obsolete.

Returns:T[]—

On this page