TEXTURE PLYWOOD
From Second Life Wiki
(Redirected from TEXTURE DEFAULT)
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
Contents |
Description
Constant: string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f";The string 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
Constants
| • | TEXTURE_BLANK | |||
| • | TEXTURE_MEDIA | |||
| • | TEXTURE_TRANSPARENT |
Functions
| • | llSetTexture | |||
| • | llSetPrimitiveParams | |||
| • | llSetLinkPrimitiveParams |
Notes
Like any string constants longer then 3 characters and used in multiple places in the code, they should be store in a global variable. The result will be a considerable memory savings. 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.
Deep Notes
History
- Version 1.20.7 - Introduction
- Version 1.20.10 - Value of TEXTURE_DEFAULT changed from "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361" to "89556747-24cb-43ed-920b-47caed15465f"
Issues
| • Fixed Bug | VWR-7315[c] | TEXTURE_DEFAULT is a bad constant name |

