Api Sandbox AudioListener
class

AudioListener

public sealed class AudioListener : Component

If this exists and is enabled in a scene, then the client will hear from this point rather than from the cameras point of view.

Constructors

AudioListener()

Properties

Name Type Description
UseCameraDirection Boolean If true, while the audio listener position will be used, the rotation element will come from the camera.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.AudioListener