TransformationA Transformation node is a kind of grouping node that is used to translate, rotate and scale its children Translation
VRML Translation Example
#VRML V2.0 utf8
Group {
children [
...
Transform {
translation 2.0 2.0 0.0
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 1.0 0.0 0.0
}
}
geometry Box {
size 2.0 2.0 2.0
}
}
]
}
]
}
|