Open topic with navigation
Vizard 7 »
Command Index
»
Vizard objects
»
multimedia
»
<multimedia:sound3D>.play
7.7
<multimedia:sound3D>.play
Plays the sound
<multimedia:sound3D>.play(
loop = 0
)
loop = 0
Control whether the sound is looped
Remarks
You can specify if the sound will play in a continuous loop.
Return Value
None
Example
ball
=
viz
.
add
(
'ball.wrl'
)
sound
=
ball
.
playsound
(
'arrgh.wav'
,
viz
.
LOOP
)
sound
.
pause
()
sound
.
play
(
viz
.
LOOP
)
Copyright © 2001-2024 WorldViz. All rights reserved.