Difference between revisions of "LlGetTexture"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m |
m |
||
Line 3: | Line 3: | ||
|func_id=57|func_sleep=0.0|func_energy=10.0 | |func_id=57|func_sleep=0.0|func_energy=10.0 | ||
|func=llGetTexture|return_type=string|p1_type=integer|p1_name=face | |func=llGetTexture|return_type=string|p1_type=integer|p1_name=face | ||
|func_footnote=If the object is no-mod and the texture is not in the inventory, return a {{ | |func_footnote=If the object is no-mod and the texture is not in the inventory, return a {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}}.<br/>If it is a texture in the object's inventory, return the inventory name, otherwise return the texture [[UUID]]. | ||
|func_desc | |func_desc | ||
|return_text=that is the texture on '''face''' | |return_text=that is the texture on '''face''' | ||
Line 16: | Line 16: | ||
|also_articles | |also_articles | ||
|notes | |notes | ||
|sort=GetTexture | |sort=GetTexture | ||
|cat1 | |cat1 |
Revision as of 08:35, 12 November 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llGetTexture( integer face );57 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a string that is the texture on face
• integer | face | – | face number or ALL_SIDES |
If face is ALL_SIDES then the function works on all sides.
If the object is no-mod and the texture is not in the inventory, return a NULL_KEY.
If it is a texture in the object's inventory, return the inventory name, otherwise return the texture UUID.
Caveats
- The function silently fails if its face value indicates a face that does not exist.
Examples
See Also
Functions
• | llSetTexture |