|
|
68
|
| isActive | SFBool | discreto | TRUE al
comienzo
FALSE al final |
| time | SFTime | continuo | tiempo absoluto |
| fraction_changed | SFFloat | continuo | valores entre 0.0 y 1.0 durante el ciclo |
| cycleTime | SFTime | discreto | tiempo al comienzo de cada ciclo |
| Transform {
translation -1.5 0.0 0.0 children Shape { appearance Appearance { material DEF Material1 Material { diffuseColor 1.0 0.0 0.1 transparency 0.0 } } geometry Sphere {} } } Transform { translation 1.5 0.0 0.0 children Shape { appearance Appearance { material DEF Material2 Material { diffuseColor 0.0 1.0 0.2 specularColor 1.0 1.0 0.0 shininess 0.0 } } geometry Sphere{} } } DEF Timer TimeSensor { cycleInterval 6.0 loop TRUE startTime 0.0 stopTime 0.0 } ROUTE Timer.fraction_changed TO Material1.set_transparency
|