LlGetTextureRot

From Second Life Wiki
Revision as of 03:19, 14 December 2007 by Charlie Omega (Talk | contribs)

Jump to: navigation, search

Summary

Function: float llGetTextureRot( integer side );

Returns a float that is the texture rotation of side

• integer side face number or ALL_SIDES

If side is ALL_SIDES then the function works on all sides.

Caveats

  • The function silently fails if its side value indicates a face that does not exist.
All Issues ~ Search JIRA for related Bugs

Examples

//Tells the owner the texture rotation on 6 sides
default
{
    state_entry()
    {
        integer i;
        for( i = 1; i < 7; i++ )
        llSay(0,"Side " + (string)i + " texture offset is: " + (string)llGetTextureRot(i));
    }
}

Deep Notes

Search JIRA for related Issues

Signature

function float llGetTextureRot( integer side );