Difference between revisions of "LlSetTexture"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function/face|face}}
{{LSL_Function
{{LSL_Function
|func_id=53|func_sleep=0.2|func_energy=10.0
|func_id=53|func_sleep=0.2|func_energy=10.0
|sort=SetTexture
|sort=SetTexture|func=llSetTexture
|func=llSetTexture|p1_type=string|p1_name=texture|p2_type=integer|p2_name=face
|p1_type=string|p1_name=texture
|p2_type=integer|p2_name=face
|func_footnote
|func_footnote
|func_desc=Sets the '''texture''' of this prims '''face'''.
|func_desc=Sets the '''texture''' of this prim's '''face'''.
|return_text
|return_text
|spec
|spec
Line 11: Line 13:
|examples
|examples
|helpers
|helpers
|also_functions
|also_functions={{LSL DefineRow||[[llGetTexture]]|}}
|also_tests
|also_events
|also_events
|also_articles
|also_articles
Line 22: Line 25:
|cat4
|cat4
}}
}}
{{LSLC|Stub|SetTexture}}

Revision as of 22:41, 22 February 2007

Summary

Function: llSetTexture( string texture, integer face );

Sets the texture of this prim's face.

• string texture
• 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

•  llGetTexture

Deep Notes

Search JIRA for related Issues

Signature

function void llSetTexture( string texture, integer face );