Webots Reference Manual - chapter 3 - section 43

Webots Reference Manual


3.43 Shape

Shape {
  SFNode   appearance   NULL
  SFNode   geometry     NULL
}

The Shape node has two fields, appearance and geometry, which are used to create rendered objects in the world. The appearance field contains an Appearance node that specifies the visual attributes (e.g., material and texture) to be applied to the geometry. The geometry field contains a Geometry node: Box, Capsule, Cone, Cylinder, ElevationGrid, IndexedFaceSet, IndexedLineSet, Plane or Sphere. The specified Geometry node is rendered with the specified appearance nodes applied.

release 7.0.2
Copyright © 2012 Cyberbotics Ltd. All right reserved.