Difference between revisions of "PRIM SIZE"

From Second Life Wiki
Jump to navigation Jump to search
(Localized to french)
m (ooops)
Line 1: Line 1:
<onlyinclude>{{#if:
<onlyinclude>{{#if:


{{#vardefine:taille_const|{{LSL Const/fr|PRIM_SIZE|integer|7|c=Utilisé pour {{GetSet/fr|{{{1|}}}|obtenir|renvoyer|/}} la taille de la prim.}}}}
{{#vardefine:size_const|{{LSL Const|PRIM_SIZE|integer|7|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's size}}}}


{{#vardefine:p_taille_desc|va de 0.01 à 10.0 pour x, y et z}}
{{#vardefine:p_size_desc|ranges from 0.01 to 10.0 for x, y and z}}


}}</onlyinclude>{{#if:
}}</onlyinclude>{{#if:


}}{{LSL Constant/fr
}}{{LSL Constant
|name=PRIM_SIZE
|name=PRIM_SIZE
|type=integer
|type=integer
|value=7
|value=7
|desc=Renvoie ou modifie la taille de la prim.  
|desc=Returns or sets the prim's size.  
|pa={{LSL Constant/List/fr|i_front=[&#32;{{#var:taille_const}},&#32;|i_end=&nbsp;]
|pa={{LSL Constant/List|i_front=[&#32;{{#var:size_const}},&#32;|i_end=&nbsp;]
|text=Lorsque utilisé avec [[llSetPrimitiveParams/fr|llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams/fr|llSetLinkPrimitiveParams]]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|i1_type=vector|i1_name=taille
|i1_type=vector|i1_name=size
|toc=llSetPrimitiveParams
|toc=llSetPrimitiveParams
}}
}}
|pb={{LSL Constant/List/fr|i_front=[[llGetPrimitiveParams/fr|llGetPrimitiveParams]]([&nbsp;{{#var:taille_const}}|i_end=&nbsp;]);|
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;{{#var:size_const}}|i_end=&nbsp;]);|
|r_front=Renvoie le list [&nbsp;|r_end=&nbsp;]
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|text
|text
|r1_type=vector|r1_name=taille
|r1_type=vector|r1_name=size
|toc=llGetPrimitiveParams
|toc=llGetPrimitiveParams
}}
}}
Line 26: Line 26:
|constants=
|constants=
|functions=
|functions=
{{LSL DefineRow||[[llGetPrimitiveParams/fr|llGetPrimitiveParams]]|Renvoie les paramètres d'une prim.}}
{{LSL DefineRow||[[llGetPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetPrimitiveParams/fr|llSetPrimitiveParams]]|Modifie les paramètres d'une prim.}}
{{LSL DefineRow||[[llSetPrimitiveParams]]|}}
{{LSL DefineRow||[[llSetLinkPrimitiveParams/fr|llSetLinkPrimitiveParams]]|Modifie les paramètres d'une prim liée.}}
{{LSL DefineRow||[[llSetLinkPrimitiveParams]]|}}
{{LSL DefineRow||[[llGetScale/fr|llGetScale]]|Renvoie la taile d'une prim.}}
{{LSL DefineRow||[[llGetScale]]|}}
{{LSL DefineRow||[[llSetScale/fr|llSetScale]]|Modifie la taille d'une prim.}}
{{LSL DefineRow||[[llSetScale]]|}}
|events=
|events=
|location
|location
|cat1=Prim/fr
|cat1=Prim
|cat2
|cat2
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 09:24, 20 June 2008

Description

Constant: integer PRIM_SIZE = 7;

The integer constant PRIM_SIZE has the value 7

Returns or sets the prim's size.

llSetPrimitiveParams

[ PRIM_SIZE, vector size ]
• vector size ranges from 0.01 to 10.0 for x, y and z

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_SIZE ]);

Returns the list [ vector size ]

• vector size ranges from 0.01 to 10.0 for x, y and z

Caveats


Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_SIZE = 7;