v18.link.Link.AudioSource¶
Warning
This class is autogenerated. More detailed documentation can be found in the SDFormat spec.
- class v18.link.Link.AudioSource(uri='__default__', pitch=1.0, gain=1.0, contact=None, loop=False, pose=None)¶
An audio source.
- Parameters
- uri: URI of the audio media.
- pitch: Pitch for the audio media, in Hz
- gain: Gain for the audio media, in dB.
- contact: List of collision objects that will trigger audio
playback.
- loop: True to make the audio source loop playback.
- pose: A position (x,y,z) and orientation (roll, pitch yaw) with
respect to the frame named in the relative_to attribute.
Nested Elements
Note that only complex elements are listed here. Elements that resolve to simple types (int, str, bool) are inlined.
|
List of collision objects that will trigger audio playback. |
|
|