Difference between revisions of "PRIM FULLBRIGHT"
Jump to navigation
Jump to search
m |
m |
||
Line 5: | Line 5: | ||
{{#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:p_boolean_desc|TRUE | {{#vardefine:p_boolean_desc|{{LSL Const|TRUE|integer|1}} enables, {{LSL Const|FALSE|integer|0}} disables}} | ||
{{#vardefine:p_boolean_hover|TRUE enables, FALSE disables}} | |||
{{#vardefine:facetable|{{#var:facetable}} | {{#vardefine:facetable|{{#var:facetable}} |
Revision as of 16:10, 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, 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, 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 |