Difference between revisions of "LlSetScale"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL Function
{{LSL Function
|func_id=47
|func_id=47|func_sleep=0.0|func_energy=10.0
|func_sleep=0.0
|func_energy=10.0
|func=llSetScale
|func=llSetScale
|p1_type=vector
|p1_type=vector|p1_name=scale|p1_desc
|p1_name=scale
|func_desc=Sets the scale of the primitive according to '''scale'''
|func_desc=Sets the scale of the primitive according to '''scale'''
|func_footnote='''x''', '''y''' & ''z''' components of '''scale'' need to be in the range [0.01, 10.0], if they are out of the range they are rounded to the nearest endpoint.
|spec
|caveats
|constants
|examples
|helpers
|also_functions={{{!}}
{{LSL DefineRow||[[llGetScale]]|Gets the prims size}}
{{LSL DefineRow||[[llSetPrimitiveParams]]|Sets prims attributes}}
{{LSL DefineRow||[[llGetPrimitiveParams]]|Gets prims attributes}}
{{!}}}
|also_tests
|also_events
|also_articles
|notes
|cat1=Prim
|cat2
|cat3
|cat4
|}}
|}}


[[Category:LSL Functions|Set Scale]]
[[Category:LSL Functions|Set Scale]]
[[Category:LSL Stub]]
[[Category:LSL Stub]]

Revision as of 13:55, 22 February 2007

Summary

Function: llSetScale( vector scale );

Sets the scale of the primitive according to scale

• vector scale

x, y & z components of scale need to be in the range [0.01, 10.0], if they are out of the range they are rounded to the nearest endpoint.

Examples

See Also

Functions

•  llGetScale Gets the prims size
•  llSetPrimitiveParams Sets prims attributes
•  llGetPrimitiveParams Gets prims attributes

Deep Notes

Search JIRA for related Issues

Signature

function void llSetScale( vector scale );