IGModAudioChannel:Set3DCone

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

Contents

Description

Sets 3D cone of the sound channel.

Arguments

number innerAngle

The angle of the inside projection cone in degrees.

Range is from 0 (no cone) to 360 (sphere), -1 = leave current.

Arguments

number outerAngle

The angle of the outside projection cone in degrees.

Range is from 0 (no cone) to 360 (sphere), -1 = leave current.

Arguments

number outerVolume

The delta-volume outside the outer projection cone.

Range is from 0 (silent) to 1 (same as inside the cone), less than 0 = leave current.

Examples

Example

The default values

Channel:Set3DCone( 360, 360, 0 )


Personal tools
Navigation