Difference between revisions of "PRIM FULLBRIGHT"
Jump to navigation
Jump to search
m |
m |
||
(7 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{{#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: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:facetable|{{#var:facetable}} | {{#vardefine:facetable|{{#var:facetable}} | ||
Line 15: | Line 13: | ||
{{LSL_Function/face|face|{{#var:fullbright_const}}|!footer=*|return={{#var:return}}}} | {{LSL_Function/face|face|{{#var:fullbright_const}}|!footer=*|return={{#var:return}}}} | ||
{{LSL_Function/boolean|boolean}} | |||
}}{{LSL Constant | }}{{LSL Constant | ||
|inject-2={{LSL PrimitiveParam Categorize|Face}} | |||
|name=PRIM_FULLBRIGHT | |name=PRIM_FULLBRIGHT | ||
|type=integer | |type=integer | ||
Line 25: | Line 25: | ||
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | |text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]] | ||
|i1_type=integer|i1_name=face | |i1_type=integer|i1_name=face | ||
|i2_type= | |i2_type=integer|i2_subtype=boolean|i2_name=boolean | ||
|toc=llSetPrimitiveParams | |||
}} | }} | ||
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:fullbright_const}}, |i_end= ]);| | |pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([ {{#var:fullbright_const}}, |i_end= ]);| | ||
Line 31: | Line 32: | ||
|text= | |text= | ||
====Caveats==== | ====Caveats==== | ||
{{#var:caveats}} | {{#var:caveats}}{{#vardefine:caveats}} | ||
|toc=llGetPrimitiveParams | |||
|i1_type=integer|i1_name=face | |i1_type=integer|i1_name=face | ||
|r1_type= | |r1_type=integer|r1_subtype=boolean|r1_name=boolean | ||
}} | }} | ||
|constants= | |constants= | ||
Line 44: | Line 46: | ||
{{LSL DefineRow||[[changed]]|}} | {{LSL DefineRow||[[changed]]|}} | ||
|location | |location | ||
|cat1 | |cat1 | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Latest revision as of 01:55, 23 December 2013
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.
llSetPrimitiveParams
[ PRIM_FULLBRIGHT, integer face, integer boolean ]• integer | face | – | face number or ALL_SIDES | |
• integer | boolean | – | TRUE enables, FALSE disables |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_FULLBRIGHT, integer face ]);Caveats
Related Articles
Constants
• | CHANGED_TEXTURE? |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |
Events
• | changed |