llGetTextureRot

From Second Life Wiki
Revision as of 00:35, 6 January 2013 by Strife Onizuka (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Summary

Function: float llGetTextureRot( integer face );

Returns a float that is the texture rotation on face

• integer face face number or ALL_SIDES

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

Caveats

  • If face indicates a face that does not exist the return is 0.0
All Issues ~ Search JIRA for related Bugs

Examples

<lsl>//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;
       }
   }
}</lsl>

See Also

Functions

•  llRotateTexture
•  llGetNumberOfSides

Deep Notes

Search JIRA for related Issues

Signature

function float llGetTextureRot( integer face );