SoVRMLPROTOInstanceSetupInstance Method |
Finishes setting up an instance of a prototype.
Namespace: OIV.Inventor.VRMLnodes
The steps required to create an instance of a prototype are:
Read in the prototype. You can read it in from a file or a buffer using the readAllVRML method of SoDB.
Find the prototype definition from the prototype's name using the static method findPROTO in SoBase.
Create an instance of the prototype.
Set the values of the fields.
Finish the setup of the instance.