LlGetTextureOffset
De DigiWiki.
Version du 11 août 2012 à 15:25 par Djphil (discuter | contributions)
//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.