Difference between revisions of "TEXTURE PLYWOOD"

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)
Line 2: Line 2:
{{LSL Constant
{{LSL Constant
|name=TEXTURE_PLYWOOD
|name=TEXTURE_PLYWOOD
|type=string
|value="89556747-24cb-43ed-920b-47caed15465f"
|value="89556747-24cb-43ed-920b-47caed15465f"
|desc=UUID for the default "Plywood" texture
|desc=UUID for the default "Plywood" texture
|pa={{SpecialBox|1=Constant: [[string]] TEXTURE_DEFAULT = "89556747-24cb-43ed-920b-47caed15465f";|3=The string constant TEXTURE_DEFAULT also has the value "89556747-24cb-43ed-920b-47caed15465f"
It can be used just like TEXTURE_PLYWOOD.}}
|examples
|examples
|notes=
|notes=Since TEXTURE_DEFAULT and TEXTURE_PLYWOOD share the same value, they are interchangeable.
The UUID "89556747-24cb-43ed-920b-47caed15465f" is also shared by the string contant TEXTURE_DEFAULT, making TEXTURE_DEFAULT and TEXTURE_PLYWOOD interchangeable.
|constants=
|constants=
{{LSL ConstRow|TEXTURE_BLANK}}
{{LSL ConstRow|TEXTURE_BLANK}}
Line 21: Line 24:
|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 04:30, 8 July 2008

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

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.
Since TEXTURE_DEFAULT and TEXTURE_PLYWOOD share the same value, they are interchangeable.

Deep Notes

History

All Issues

~ Search JIRA for related Issues
   TEXTURE_DEFAULT is a bad constant name!

Signature

string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f";