|LSL Portal||Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials|
The string constant TEXTURE_PLYWOOD has the value "89556747-24cb-43ed-920b-47caed15465f"
UUID for the default "Plywood" texture
The string constant TEXTURE_DEFAULT also has the value "89556747-24cb-43ed-920b-47caed15465f"
It can be used just like TEXTURE_PLYWOOD.
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.
Since TEXTURE_DEFAULT and TEXTURE_PLYWOOD share the same value, they are interchangeable.
All Issues~ Search JIRA for related Issues
|VWR-7315||A||TEXTURE_DEFAULT is a bad constant name|
string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f"; string TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f";