Difference between revisions of "TEXTURE TRANSPARENT"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL Constant |name=TEXTURE_TRANSPARENT |type=string |value="59facb66-4a72-40a2-815c-7d9b42c56f60" |desc |examples |notes |constants= {{LSL ConstRow|TEXTURE_BLANK}} {{LSL ConstRow|TEXTURE...)
 
m
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{LSL Constant
{{LSL Constant
|inject-2={{Issues/VWR-7338}}{{LSL_Constant/string}}
|name=TEXTURE_TRANSPARENT
|name=TEXTURE_TRANSPARENT
|type=string
|type=string
|value="59facb66-4a72-40a2-815c-7d9b42c56f60"
|value="8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"
|desc
|desc=UUID for "*Default Transparent Texture" in the library, also included with viewers.
|examples
|examples
|notes
|notes
|constants=
|constants=
{{LSL ConstRow|TEXTURE_BLANK}}
{{LSL ConstRow|TEXTURE_BLANK}}
{{LSL ConstRow|TEXTURE_DEFAULT}}
{{LSL ConstRow|TEXTURE_MEDIA}}
{{LSL ConstRow|TEXTURE_PLYWOOD}}
{{LSL ConstRow|TEXTURE_PLYWOOD}}
|functions=
|functions=
Line 16: Line 17:
|events
|events
|history=
|history=
Introduced in revision 87341 (1.20.6)
*{{SVN|543|ver=1.20.7|anchor=file35}} - Introduction
*{{SVN|627|ver=1.20.10|anchor=file3}} - Value changed from "59facb66-4a72-40a2-815c-7d9b42c56f60" to "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"
*Date of Release  [[ Release_Notes/Second_Life_Release/1.20#Release_Notes_for_Second_Life_1.20.15_Jul_24th.2C_2008 | 24/07/2008 ]]
|cat1=Key
|cat1=Key
|cat2
|cat2=Texture
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 23:10, 15 January 2014

Description

Constant: string TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903";

The string constant TEXTURE_TRANSPARENT has the value "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"

UUID for "*Default Transparent Texture" in the library, also included with viewers.

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
   New Texture Constant TEXTURE_TRANSPARENT is NOT transparent!

Signature

string TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903";