Difference between revisions of "PRIM FULLBRIGHT"
Jump to navigation
Jump to search
(New page: {{#if: {{LSL_Constants/PrimitiveParams}} }}{{LSL Constant |name=PRIM_TYPE_FULLBRIGHT |type=integer |value=20 |desc= |examples= |constants= |functions= {{LSL DefineRow||[[llSetPrimitivePara...) |
|||
Line 1: | Line 1: | ||
{{#if: | <onlyinclude>{{#if: | ||
{{ | |||
{{#vardefine:return|[ {{HoverText|0|integer boolean}} ]}} | |||
{{#vardefine:fullbright_const|{{LSL Const|PRIM_FULLBRIGHT|integer|20|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the full-bright setting of a prim's face}}}} | |||
{{#vardefine:p_boolean_desc|TRUE (enables) or FALSE (disables)}} | |||
{{#vardefine:facetable|{{#var:facetable}} | |||
{{!}}- | |||
{{!}} [ {{#var:fullbright_const}} ] | |||
{{!}} {{#var:return}} }} | |||
}}</onlyinclude>{{#if: | |||
{{LSL_Function/face|face|{{#var:fullbright_const}}|!footer=*|return={{#var:return}}}} | |||
}}{{LSL Constant | }}{{LSL Constant | ||
|name= | |name=PRIM_FULLBRIGHT | ||
|type=integer | |type=integer | ||
|value=20 | |value=20 | ||
|desc= | |desc=Used to get or set the full-bright setting of a prim's face. | ||
|examples= | |examples= | ||
|pa={{LSL Constant/List|i_front=[ {{#var:fullbright_const}}, |i_end= ] | |||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |||
|i1_type=integer|i1_name=face | |||
|i2_type=string|i2_name=boolean | |||
}} | |||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:fullbright_const}}, |i_end= ]);| | |||
|r_front=Returns the list [ |r_end= ] | |||
|text= | |||
====Caveats==== | |||
{{#var:caveats}} | |||
|i1_type=integer|i1_name=face | |||
|r1_type=string|r1_name=boolean | |||
}} | |||
|constants= | |constants= | ||
{{LSL DefineRow||[[CHANGED_TEXTURE]]?|}} | |||
|functions= | |functions= | ||
{{LSL DefineRow||[[llSetPrimitiveParams]]|}} | {{LSL DefineRow||[[llSetPrimitiveParams]]|}} |
Revision as of 14:56, 17 April 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_FULLBRIGHT = 20;The integer constant PRIM_FULLBRIGHT has the value 20
Used to get or set the full-bright setting of a prim's face.
[ PRIM_FULLBRIGHT, integer face, string boolean ]
[ PRIM_FULLBRIGHT, integer face, string boolean ]• integer | face | – | face number or ALL_SIDES | |
• string | boolean | – | TRUE (enables) or FALSE (disables) |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams([ PRIM_FULLBRIGHT, integer face ]);
llGetPrimitiveParams([ PRIM_FULLBRIGHT, integer face ]);Returns the list [ string boolean ]
• integer | face | – | face number or ALL_SIDES | ||
• string | boolean | – | TRUE (enables) or FALSE (disables) |
Caveats
- If face is ALL_SIDES then the PRIM_FULLBRIGHT works on all sides.
- If face indicates a face that does not exist the PRIM_FULLBRIGHT return is [ 0 ]
Caveats
- If face is ALL_SIDES then the PRIM_FULLBRIGHT works on all sides.
- If face indicates a face that does not exist the PRIM_FULLBRIGHT return is [ 0 ]
Related Articles
Constants
• | CHANGED_TEXTURE? |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |
Events
• | changed |