Difference between revisions of "TEXTURE MEDIA"

From Second Life Wiki
Jump to: navigation, search
m (oops)
m (moved to texture category where it was missing; was under string instead, which was weird)
Line 1: Line 1:
 
{{LSL_Constant/string}}{{LSL Constant
 
{{LSL_Constant/string}}{{LSL Constant
 
|name=TEXTURE_MEDIA
 
|name=TEXTURE_MEDIA
|type=string
 
 
|value="8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"
 
|value="8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"
 
|desc=UUID for the "Default Media" texture
 
|desc=UUID for the "Default Media" texture
Line 19: Line 18:
 
|issues=
 
|issues=
 
{{LSL Bug|VWR-7315|[[TEXTURE_DEFAULT]] is a bad constant name|status=fixed}}
 
{{LSL Bug|VWR-7315|[[TEXTURE_DEFAULT]] is a bad constant name|status=fixed}}
|cat1=Key
+
|cat1=Texture
 
|cat2
 
|cat2
 
|cat3
 
|cat3
 
|cat4
 
|cat4
 
}}
 
}}

Revision as of 22:37, 7 July 2008

[[Category:LSL {{{type}}}|TEXTURE_MEDIA]]

Description

Constant: [[{{{type}}}|{{{type}}}]] TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361";

The {{{type}}} constant TEXTURE_MEDIA has the value "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"

UUID for the "Default Media" texture

Related Articles

Notes

Like any LSO string constants longer then 3 characters and used in multiple places in the code, they should be stored in a global variable. The result will be a considerable memory savings. This does not apply to scripts compiled with Mono. See LSL Constants vs Globals for more information about this and examples.

Deep Notes

History

All Issues

~ Search JIRA for related Issues
   TEXTURE_DEFAULT is a bad constant name!

Signature

{{{type}}} TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361";