Difference between revisions of "LlGetTextureRot"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m |
m |
||
Line 32: | Line 32: | ||
|notes | |notes | ||
|cat1=Texture | |cat1=Texture | ||
|cat2 | |cat2=Face | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 09:13, 3 February 2010
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 |