Difference between revisions of "PRIM FULLBRIGHT"
Jump to navigation
Jump to search
m |
m |
||
Line 16: | Line 16: | ||
}}{{LSL Constant | }}{{LSL Constant | ||
|inject-2={{LSL PrimitiveParam Categorize|Face}} | |||
|name=PRIM_FULLBRIGHT | |name=PRIM_FULLBRIGHT | ||
|type=integer | |type=integer | ||
Line 45: | Line 46: | ||
{{LSL DefineRow||[[changed]]|}} | {{LSL DefineRow||[[changed]]|}} | ||
|location | |location | ||
|cat1 | |cat1 | ||
|cat2 | |cat2 | ||
|cat3 | |cat3 | ||
|cat4 | |cat4 | ||
}} | }} |
Revision as of 22:26, 1 July 2012
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 ]);Returns the list [ integer boolean ]
• integer | face | – | face number or ALL_SIDES | ||
• integer | boolean | – | TRUE enables, 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
Related Articles
Constants
• | CHANGED_TEXTURE? |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |
Events
• | changed |