WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Script question (https://forum.worldviz.com/showthread.php?t=1173)

Vinicius Lima 08-07-2007 02:27 PM

Script question
 
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.


All times are GMT -7. The time now is 08:12 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC