LlGetTextureOffset
From Second Life Wiki
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
Examples
//Tells the owner the texture offset on all sides default { state_entry() { integer i = 0; integer max = llGetNumberOfSides(); while(i < max) { llSay(0,"Face "+(string)i+" texture offset is " + (string)llGetTextureOffset(i)); ++i; } } }
vector offsetVec = llGetTextureOffset(0); float u = offsetVec.x; float v = offsetVec.y; // z is not used.

