private SoundSource ( SoundBuffer buffer, double radius, double pitch, double volume, OpenBveApi position, |
||
buffer | SoundBuffer | The sound buffer. |
radius | double | The effective sound radius. |
pitch | double | The pitch change factor. |
volume | double | The volume change factor. |
position | OpenBveApi | The position. If a train and car are specified, the position is relative to the car, otherwise absolute. |
train | The train this sound source is attached to, or a null reference. | |
type | SoundType | The type of sound |
car | int | The car this sound source is attached to, or a null reference. |
looped | bool | Whether this sound source plays in a loop. |
Sounds.SoundSource::SoundSource ( SoundBuffer buffer, double radius, double pitch, double volume, OpenBveApi position, |