Webots Reference Manual

previous page go up next page

Thanks

1. Introduction

2. Node Chart

3. Nodes and API Functions

4. Prototypes

5. Physics Plugin

6. Fast2D Plugin

7. MTN Functions

8. Webots World Files

     

Chapter 4: Prototypes

A prototype defines a new node type in terms of built-in nodes or other prototypes. The prototype interface defines the fields for the prototype. Once defined, prototypes may be instantiated in the scene tree exactly like built-in nodes.

4.1 Prototype Definition

4.2 Prototype Instantiation

4.3 Example

4.4 Using Prototypes with the Scene Tree

4.5 Prototype Scoping Rules

previous page go up next page
^ page top ^

  E-mail to webmaster Last updated: Copyright © 2007 Cyberbotics Ltd.