Box Node


Box node:

Box{
size 2 2 2
}

field: size. The values for the size field (2 2 2 by default) are the x, y & z dimensions, respectively, of a box.

For example:

#VRML V2.0 utf8
#a box with size

Shape{
geometry Box{
size 3 2 1
}

}


[ Next ] [ Previous ]