RenderWare V2.1

Previous Page Index Next Page

ProtoInstance <name>

Description

Merges the prototype of the given name with the current clump under construction.

Arguments

name The name of the prototype to merge.

Comments

ProtoInstance does not create a new child clump. It merges the polygons of the prototype with the polygons of the current clump under construction. If a new child clump is desired, surround the ProtoInstance keyword with a ClumpBegin ClumpEnd block.

The materials of the polygons of the prototype are preserved.

API Equivalent

RwProtoInstance()