API ReferenceSandbox.Audio

AudioChannelclass

Represents an audio channel, between 0 and 7. This is used to index into buffers. This is used rather than an int to avoid unfortuate bugs.

object→AudioChannel
Namespace
Sandbox.Audio
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.Audio.AudioChannel

Constructors1

Showing 1 constructors

public AudioChannel(int i)PUBLICCONSTRUCTOR

ParameterTypeDescription
iint—

Methods1

Showing 1 methods

public int Get()PUBLIC

Returns:int—

Properties2

Showing 2 properties

On this page