PDA

View Full Version : Script question


Vinicius Lima
08-07-2007, 02:27 PM
Hello,

I am going over the Vizard tutorials and I ran into that script line and the tutorial does not explain what all those arguments mean. Could you please tell me?

sky2 = viz.add('skydome.dlc',0,'',0,0,0,0,viz.WORLD,2)

Thanks,

Vinicius

mspusch
08-08-2007, 11:14 AM
The skydome.dlc plugin takes some optional arguments on intialization. The zero arguments are simply dummy placeholders. The important argument is the 2 at the end tells the skydome to be added to scene 2.