Difference between revisions of "PRIM FULLBRIGHT"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m |
m |
||
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 16: | 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 |
Revision as of 17:12, 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 |