switchsounds.x3d
X_ITE X3D Player | Test Switching of sounds. A "chime" sounding Sound node is initially a "switched out" child of a Switch node in this world. If the viewer clicks on the "Switch in" button in this world, the Sound child is switched in as a child of the Switch node, and should begin to play. If the viewer clicks on the "Switch out" button while the Sound is playing, the sound should cease. However, the Sound node should continue to send and receive events, and as a result, the "phonograph" geometry continue to remain a yellow color, indicating that the Sound node isActive field is still true, even though the Sound is no longer audible. |
Display error: X3D model not shown.
Your HTML browser does not appear to support all features required by the X_ITE X3D player!
Original X3D scene: switch_sounds.x3d