Table of contents Chapter index Previous slide Next slide 34
Syntax: Box

Building primitive shapes
Syntax: Box
  • A Box geometry node builds a box
  • size - width, height, depth

  • [ box.wrl ]
    Shape {
    
        appearance Appearance {
    
            material Material { }
    
        }
    
        geometry Box {
    
            size 2.0 2.0 2.0
    
        }
    
    }