Difference between revisions of "LlRotateTexture"

From Second Life Wiki
Jump to navigation Jump to search
Line 12: Line 12:
|examples
|examples
|helpers
|helpers
|also_functions={{{!}}
|also_functions={{LSL DefineRow||[[llGetTextureRot]]|Gets the texture rotation}}
{{LSL DefineRow||[[llGetTextureRot]]|Gets the texture rotation}}
{{!}}}
|also_tests
|also_tests
|also_events
|also_events

Revision as of 14:08, 22 February 2007

Summary

Function: llRotateTexture( float rotation, integer face );
0.2 Forced Delay
10.0 Energy

Sets the texture rotation for the chosen face

• float rotation
• integer face face number or ALL_SIDES

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

Caveats

  • This function causes the script to sleep for 0.2 seconds.
  • The function silently fails if its face value indicates a face that does not exist.

Examples

See Also

Functions

•  llGetTextureRot Gets the texture rotation

Deep Notes

Signature

function void llRotateTexture( float rotation, integer face );