Syntax

float llGetTextureRot( integer face );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

integer face
face number or ALL_SIDES

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

Return value

Returns a float that is the texture rotation, expressed as an angle, on face

Caveats

Examples

//Tells the owner the texture rotation on all sides
default
{
    state_entry()
    {
        integer i = 0;
        integer max = llGetNumberOfSides();
        while(i < max)
        {
            llSay(0,"Face "+(string)i+" texture rotation is " + (string)llGetTextureRot(i));
            ++i;
        }
    }
}

See also

Functions