llGetTextureScale

From Second Life Wiki
Revision as of 19:52, 27 March 2007 by BamBam Sachertorte (talk | contribs) (texture scale details)
Jump to navigation Jump to search

Summary

Function: vector llGetTextureScale( integer side );
0.0 Forced Delay
10.0 Energy

Returns a vector that is the texture scale of side in the x and y components. 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.

• integer side face number or ALL_SIDES

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

Caveats

  • The function silently fails if its side value indicates a face that does not exist.

Examples

Deep Notes

Signature

function vector llGetTextureScale( integer side );