[example-sound],[example-moviet] [run-sound],[run-moviet]It is a time-dependent node activating and deactivating itself at specified times. It specifies :
{
exposedField SFBool loop FALSE # if FALSE at the end of cycle, stops playing
exposedField SFBool speed 1.0 #
exposedField SFTime startTime 0 # starts if current time > startTime
exposedField SFTime stopTime 0 # stops when stopTime is reached for
stopTime > startTime
exposedField MFString url [] #
field SFBool repeatS TRUE #
field SFBool repeatT TRUE #
eventOut SFTime duration_changed # signalizes change of source
eventOut SFBool is_Active # for other nodes to determine if it
is currently active
}
Usage :
Sound { MovieTexture { url "http://... " } ...... Transform{ rotation 1 1 1 -.7 children [ Shape { geometry Box { size 3 3 3 } appearance Appearance { material Material { } texture MovieTexture { url "https://www.dca.fee.unicamp.br/~leopini/private/space3m.mpg" } } } ] }