Difference between revisions of "LlRotateTexture"

From Second Life Wiki
Jump to navigation Jump to search
m (typo)
Line 1: Line 1:
{{LSLFunctionAll|func_id=56|func_sleep=0.2|func_energy=10.0|func=llRotateTexture|p1_type=float|p1_name=rotation|p2_type=integer|p2_name=face|func_footnote=sets the texture rotation for the chosen face|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function/face|face}}
{{LSL_Function
|func_id=56|func_sleep=0.2|func_energy=10.0
|func=llRotateTexture
|p1_type=float|p1_name=rotation|p2_type=integer|p2_name=face
|func_footnote
|func_desc=Sets the texture rotation for the chosen '''face'''
|return_text
|spec
|caveats
|constants
|examples
|helpers
|also_functions={{{!}}
{{LSL DefineRow||[[llGetTextureRot]]|Gets the texture rotation}}
{{!}}}
|also_tests
|also_events
|also_articles
|notes
|cat1=Face
|cat2
|cat3
|cat4
}}

Revision as of 13:59, 22 February 2007

Summary

Function: llRotateTexture( float rotation, integer face );

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.
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 );