5.2 Prototype Instantiation
Each prototype instance can be considered to be a complete copy of the prototype, with its interface fields and body nodes. Prototype are instantiated using the standard node syntax, for example:
Bicycle { |
When prototype instances are read from a .wbt file, field values for the fields of the prototype interface may be given. If given, the field values are used for all nodes in the prototype definition that have IS statements for those fields.