Difference between revisions of "LlGetTextureScale"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
(texture scale details) |
|||
Line 5: | Line 5: | ||
|func_footnote | |func_footnote | ||
|func_desc | |func_desc | ||
|return_text=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. | |return_text=that is the texture scale of '''side''' in the x and y components. | ||
|spec= 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 | |caveats | ||
|constants | |constants | ||
|examples | |examples | ||
|helpers | |helpers | ||
|also_functions | |also_functions={{LSL DefineRow||[[llScaleTexture]]}} | ||
|also_tests | |also_tests | ||
|also_events | |also_events |
Revision as of 20:09, 27 March 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: vector llGetTextureScale( integer side );179 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a vector that is the texture scale of side in the x and y components.
• integer | side | – | face number or ALL_SIDES |
If side is ALL_SIDES then the function works on all sides.
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
- The function silently fails if its side value indicates a face that does not exist.
Examples
See Also
Functions
• | llScaleTexture |