Difference between revisions of "LlGetTexture"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 19: Line 19:
|negative_index
|negative_index
|sort=GetTexture
|sort=GetTexture
|cat1=Prim
|cat1
|cat2=Texture
|cat2=Texture
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 05:30, 25 April 2007

Summary

Function: string llGetTexture( integer face );

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.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llSetTexture

Deep Notes

Search JIRA for related Issues

Signature

function string llGetTexture( integer face );