Skip to content

ChannelRadius

Narta Xaymar Dirks edited this page Nov 26, 2026 · 1 revision

ChannelRadius BlitzLLVM

ChannelRadius:Void channel:Int32, radius:Float32
Parameter Mode Type Default Description
channel In Int32 required A channel handle from EmitSound.
radius In Float32 required The radius in units of the world. 0 (what a channel starts with) is a point. Below 0 is a runtime error.

Description

BlitzLLVM This command does not exist in the original Blitz products. BlitzLLVM adds it.

Makes the source of one 3D sound a ball instead of a point, such as a big engine or a waterfall. Together with ListenerRadius it makes the sound move between the speakers and change its pitch over a moment as it passes close by. This is a BlitzLLVM extension.

Differences

Examples

engine = EmitSound(rumble, mothership)
ChannelRadius engine, 50

Related Commands

ChannelDoppler BlitzLLVM, GetChannelDoppler BlitzLLVM, GetChannelFalloff BlitzLLVM, GetChannelRadius BlitzLLVM, GetListenerRadius BlitzLLVM, ListenerRadius BlitzLLVM, SetChannelFalloff BlitzLLVM

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

More

Clone this wiki locally