Difference between revisions of "PRIM FULLBRIGHT"
Jump to navigation
Jump to search
m |
m |
||
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_name=boolean | ||
}} | }} | ||
|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 33: | Line 33: | ||
{{#var:caveats}} | {{#var:caveats}} | ||
|i1_type=integer|i1_name=face | |i1_type=integer|i1_name=face | ||
|r1_type= | |r1_type=integer|r1_name=boolean | ||
}} | }} | ||
|constants= | |constants= |
Revision as of 15:39, 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, integer boolean ]
[ PRIM_FULLBRIGHT, integer face, integer boolean ]• integer | face | – | face number or ALL_SIDES | |
• integer | boolean | – | TRUE (enables) or FALSE (disables) |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams([ PRIM_FULLBRIGHT, integer face ]);
llGetPrimitiveParams([ PRIM_FULLBRIGHT, integer face ]);Returns the list [ integer boolean ]
• integer | face | – | face number or ALL_SIDES | ||
• integer | 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 [ FALSE ]
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 [ FALSE ]
Related Articles
Constants
• | CHANGED_TEXTURE? |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |
Events
• | changed |