Knob {
eventIn SFFloat set_fraction
eventOut SFFloat fraction_changed
field SFFloat fraction 0
field SFBool noloop FALSE
eventOut SFTime touchTime
exposedField SFBool enabled TRUE
exposedField MFNode knob [
Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
geometry IndexedFaceSet {
ccw FALSE
coord Coordinate { point [
.01 .01 0,
0 .01 -.05,
-.01 .01 0,
.01 -.01 0,
0 -.01 -.05,
-.01 -.01 0,
]}
coordIndex [ 2, 1, 0, -1,
3, 4, 5, -1,
0, 1, 4, 3, -1,
5, 4, 1, 2, -1,
]
}
}
Transform {
translation 0 .0175 0
children Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
geometry Cone {
bottomRadius .03
height .015
}
}
}
Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
geometry Cylinder {
radius .03
height .02
}
}
]
}
Example