Difference between revisions of "LlRotateTexture"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
|func_id=56|func_sleep=0.2|func_energy=10.0
|func_id=56|func_sleep=0.2|func_energy=10.0
|func=llRotateTexture
|func=llRotateTexture
|p1_type=float|p1_name=rotation|p2_type=integer|p2_name=face
|p1_type=float|p1_name=rotation|p1_desc=angle in radians
|p2_type=integer|p2_name=face
|func_footnote
|func_footnote
|func_desc=Sets the texture rotation for the chosen '''face'''
|func_desc=Sets the texture rotation for the chosen '''face'''

Revision as of 04:10, 1 March 2007

Summary

Function: llRotateTexture( float rotation, integer face );

Sets the texture rotation for the chosen face

• float rotation angle in radians
• 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.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

•  llGetTextureRot Gets the texture rotation

Deep Notes

Search JIRA for related Issues

Signature

function void llRotateTexture( float rotation, integer face );