Transform の中に書くことのできるデータとして、例えば、
などがあります。
幾何変換の対象となる物体は、Transform の後の { } の中に
children
と書いて、その後に [ ] をつけて、その中に書きます。
こんな感じで Transform を記述します。
#VRML V2.0 utf8
Transform {
translation
rotation
scale
children [
Shape {
geometry Cylinder { }
}
]
}
|