Difference between revisions of "TEXTURE PLYWOOD"

From Second Life Wiki
Jump to: navigation, search
m (moved from string category where it was weird, to show under texture, where it was missing.)
m
Line 24: Line 24:
 
{{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=Texture
|cat2=Key
+
|cat2
 
|cat3
 
|cat3
 
|cat4
 
|cat4
 
}}
 
}}

Revision as of 22:35, 7 July 2008

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

Description

Constant: [[{{{type}}}|{{{type}}}]] TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f";

The {{{type}}} constant TEXTURE_PLYWOOD has the value "89556747-24cb-43ed-920b-47caed15465f"

UUID for the default "Plywood" texture

Constant: string TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f";

The string constant TEXTURE_DEFAULT also has the value "89556747-24cb-43ed-920b-47caed15465f"

It can be used just like TEXTURE_PLYWOOD.

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_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f";