llGetTextureRot
Revision as of 07:02, 14 December 2007 by Strife Onizuka (talk | contribs)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llGetTextureRot( integer side );180 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
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.
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 |