ProtoBegin


Usage

ProtoBegin <name>

Description

This command declares the beginning of a new prototype. All subsequent vertices and polygons are added to this prototype until a matching ProtoEnd is reached.

A prototype is a collection of vertices, polygons, and materials which can be used repeatedly in the same object, like a macro. They are particularly handy if your object users the same physical structure more than once (e.g. the legs of a table, the tires of a car, etc.) If you put the common structure in a prototype, you only have to define it once and then instantiate it repeatedly wherever you want to use it. Use the ProtoInstance command to instantiate a prototype.

Prototypes cannot be defined within other ProtoBegin/ProtoEnd blocks or within ClumpBegin/ClumpEnd blocks.

Arguments

<name> the name of the prototype, to be referenced by a subsequent ProtoInstance command

See Also

ClumpBegin
ClumpEnd
ProtoEnd
ProtoInstance
ProtoInstanceGeometry