我有两个形状,我想禁用其中一个主题的旋转。最好的方法是什么?
# A Cylinder
Shape {
appearance Appearance {
material Material {
diffuseColor 0.75 0.5 1.0
specularColor 0.7 0.7 0.8
shininess 0.1
}
}
geometry Cylinder {
height 0.2
radius 3.
}
}
# A Sphere
Shape {
appearance Appearance {
material Material {
diffuseColor 0.2 0.5 0.75
transparency 0.0
}
}
geometry Sphere {
radius 1.0
}
}
谢谢