object proto
PROTO SphereTransform [
exposedField SFVec3f sphereTranslation 0 0 0
exposedField SFRotation sphereRotation 0 0 0 0
exposedField SFColor sphereColor 1 1 1
exposedField SFFloat sphereRadius 1.0
]
{
Transform {
translation IS sphereTranslation
rotation IS sphereRotation
children [
Shape {
appearance Appearance {
material Material {
diffuseColor IS sphereColor
}
}
geometry Sphere {
radius IS sphereRadius
}
}
]
}
}