Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

archiv:opensim:downloads:scripts:webimage [2024/01/09 22:25] – Externe Bearbeitung 127.0.0.1archiv:opensim:downloads:scripts:webimage [Unbekanntes Datum] (aktuell) – Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1
Zeile 1: Zeile 1:
 +===== Webimage =====
 +
 +<code>
 +default
 +{
 +   state_entry()
 +   {
 +       llSay( 0, "osSetDynamicTextureURL Tester");
 +   }
 +   touch_start(integer total_number)
 +   {
 +     llSay( 0, "Testing.");
 +     string  dynamicID="";
 +     integer refreshRate = 600;
 +     string  contentType="image";
 +     string srcURL = "http://www.yoururlgoeshere.com"; // URL
 +     string URLTexture=osSetDynamicTextureURL(dynamicID, contentType ,srcURL  , "", refreshRate );
 +     if (llStringLength(URLTexture)>0)
 +      {
 +        llSay(0,"URLTexture = "+URLTexture);
 +        llSetTexture(URLTexture, ALL_SIDES);
 +      }
 +  }
 +}
 +</code>
 +
 +oder
 +
 +<code>
 +default {
 +    state_entry()
 +    {
 +        llSay( 0, "osSetDynamicTextureURL Tester");
 +    }
 +    touch_start(integer total_number)
 +    {
 +      llSay( 0, "Testing.");
 +      string  dynamicID="";
 +      integer refreshRate = 600;
 +      string  contentType="image";
 +      string srcURL1 = "http://www.goes.noaa.gov/FULLDISK/GEVS.JPG"; // Earth
 +      string srcURL2 = "http://www.srh.noaa.gov/data/satellite/thumbs/ECI8.JPG"; // US Weather
 +      string srcURL = "http://ichart.finance.yahoo.com/b?s=%5EGSPC"; // Stock market
 +      string URLTexture=osSetDynamicTextureURL(dynamicID, contentType ,srcURL  , "", refreshRate ); 
 +      if (llStringLength(URLTexture)>0) 
 +       {
 +         llSay(0,"URLTexture = "+URLTexture);
 +         llSetTexture(URLTexture, ALL_SIDES);
 +       }
 +   }
 +}
 +</code>
  
Navigation

Alternative Startseite
Helpdesk
Links
Maps
Radio
Suchmaschine


Drucken/exportieren