Garry's Mod Wiki

IGModAudioChannel:Set3DEnabled

IGModAudioChannel:Set3DEnabled( boolean enable )

Just Added

This was just added in the latest version (2020.04.29). It might only be available on the Dev Branch right now.

Description

Sets the 3D mode of the channel. This will affect IGModAudioChannel:Get3DEnabled but not IGModAudioChannel:Is3D.

This feature requires the channel to be initially created in 3D mode, i.e. IGModAudioChannel:Is3D should return true or this function will do nothing.

Arguments

1 boolean enable
true to enable, false to disable 3D.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 11
Render Body 0
Render Sidebar 12