Difference between revisions of "LlScaleTexture"

From Second Life Wiki
Jump to navigation Jump to search
(Fix for alphabetical order in Functions list)
Line 1: Line 1:
{{LSL_Function/face|face|}}{{LSL_Function
{{LSL_Function
|func=llScaleTexture
|sort=ScaleTexture
|func_id=54|func_sleep=0.2|func_energy=10.0
|func_id=54|func_sleep=0.2|func_energy=10.0
|func=llScaleTexture
|p1_type=float|p1_name=u
|p1_type=float|p1_name=u
|p2_type=float|p2_name=v
|p2_type=float|p2_name=v

Revision as of 04:09, 29 March 2007

Summary

Function: llScaleTexture( float u, float v, integer face );
0.2 Forced Delay
10.0 Energy

Sets the texture u & v scales for the chosen face.

• float u
• float v
• integer face

Specification

In the default texture mapping mode the scale units are in texture repeats per face. In the planar texture mapping mode the scale units are in texture repeats per half meter. This is in contrast to the in-world editing tool, in which the planar texture scaling units are repeats per meter.

Caveats

  • This function causes the script to sleep for 0.2 seconds.

Examples

See Also

Functions

•  llGetTextureScale

Deep Notes

Signature

function void llScaleTexture( float u, float v, integer face );