PlaneSlider {
eventIn SFFloat set_x
eventIn SFFloat set_y
eventIn SFVec2f set_xy
eventIn SFVec3f set_xyz
field SFVec2f xy .5 .5
field SFBool noloop FALSE
eventOut SFFloat x_changed
eventOut SFFloat y_changed
eventOut SFVec2f xy_changed
eventOut SFTime touchTime
field SFBool x_enabled TRUE
field SFBool y_enabled TRUE
exposedField MFNode thumb Shape {
appearance Appearance {
material Material {
diffuseColor 0 0 1
}
}
geometry Sphere { radius .05 }
}
exposedField MFNode grid Grid { color 0 1 0 }
}
Example