#VRML V2.0 utf8 PROTO PATH [ field SFString name "aPath" field SFVec3f origin 0 0 0 field SFVec3f destination 0 0 0 field SFColor rug 0.2 0.5 0.8 field SFFloat visibility 0.0 eventIn SFNode arrive eventOut SFNode depart eventIn SFFloat setViz ] { DEF pXform Transform { children [ DEF pScript Script { directOutput TRUE # fields fr outside field SFString name IS name field SFVec3f p1 IS origin field SFVec3f p2 IS destination field SFColor rug IS rug field SFFloat visibility IS visibility # events communicating with the outside eventIn SFNode arrive IS arrive eventOut SFNode depart IS depart eventIn SFFloat setViz IS setViz # local within path field SFNode pXform USE pXform field SFNode pScript USE pScript eventIn SFBool hilite # local within this Script field SFFloat pathLength 0 field SFNode viznode NULL eventOut SFNode kickOffOut eventIn SFNode kickOffIn eventIn MFVec3f cleanup44 eventOut SFInt32 cleanup44out eventIn SFInt32 cleanUp # ECMAscript version only (in java is attrib of class) field SFFloat piover2 0 field SFInt32 presnt 1 field SFInt32 vacant 0 field MFNode moverS [] field MFInt32 statuS [] field SFInt32 verw 0 field SFInt32 verf 11 field SFFloat currentVisibility 0 field SFFloat transparency 0 field MFNode nuchild [] field SFBool dbg FALSE #ifndef blaxxun field SFBool pluginIsBlaxxun FALSE field SFBool pluginIsCosmo FALSE field SFBool pluginIsCortona FALSE url "javascript: function initialize() { if(dbg) print(' '); if(dbg) print('path ' + name + ' initialize'); if(dbg) print(Browser.getName() + ', version ' + Browser.getVersion()); if (Browser.getName() == 'Cortona Control') { if(dbg) print('Web browser VRML plug-in is cortona'); pluginIsCortona = true; } els