IGModAudioChannel:Set3DFadeDistance

From Garry's Mod
Jump to: navigation, search
 IGModAudioChannel:Set3DFadeDistance( )

Contents

Description

Sets 3D fade distances of a sound channel.

Arguments

number min

The minimum distance. The channel's volume is at maximum when the listener is within this distance.

0 or less = leave current.

Arguments

number max

The maximum distance. The channel's volume stops decreasing when the listener is beyond this distance.

0 or less = leave current.

Examples

Example

The default values.

Channel:Set3DFadeDistance( 200, 1000000000 )


Personal tools
Navigation