interface
EXTERNPROTO Lamp [
exposedField SFVec3f translation
# exposedField SFInt32 size 1
]
{
Transform {
translation
IS translation
children [
Transform {
translation 0.0 0 0.0
children [
DEF Cylinder1 Shape {
appearance Appearance {
material
DEF White Material {
ambientIntensity 0.200
shininess 0.200
diffuseColor 1.0 1.0 1.0
emissiveColor 0.0 0.0 0.0
specularColor
0.0 0.0 0.0
}
}
geometry Cylinder {
height 1.000
radius 0.200
}
}
Transform {
translation -0.15165 1.26471 0.0
children [
DEF
Cylinder5 Shape {
appearance Appearance {
material USE White
}
geometry Cylinder {
height 1.500
radius 0.050
}
}
]
}
Transform
{
translation 0.15188 1.26471 0.0
children [
USE Cylinder5
]
}
Transform {
translation 0.00232 2.114 0.0
children [
DEF Cylinder3
Shape {
appearance Appearance {
material USE White
}
geometry Cylinder {
height 0.200
radius 0.200
}
}
]
}
Transform {
translation
0.00094 1.93906 0.0
children [
DEF Cylinder4 Shape {
appearance Appearance {
material DEF Shiny_Yellow Material {
ambientIntensity
0.200
shininess 0.100
diffuseColor 1.0 1.0 0.0
emissiveColor 0.0 0.0 0.0
specularColor 1.0 1.0 0.0
}
}
geometry Cylinder
{
height 0.150
radius 0.120
}
}
]
}
]
}
]
}
}