Difference between revisions of "TEXTURE MEDIA"

From Second Life Wiki
Jump to navigation Jump to search
m (moved to texture category where it was missing; was under string instead, which was weird)
(Undo revision 76923 by Chaz Longstaff (Talk))
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 18: Line 19:
|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=Texture
|cat1=Key
|cat2
|cat2=Texture
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 03:30, 8 July 2008

Description

Constant: string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361";

The string constant TEXTURE_MEDIA has the value "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"

UUID for the "Default Media" texture

Caveats


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

string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361";