Difference between revisions of "PRIM GLOW"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<onlyinclude>{{#if: | <onlyinclude>{{#if: | ||
{{#vardefine:p_intensity_desc|ranges from 0.0 to 1.0}} | {{#vardefine:p_intensity_desc|ranges from 0.0 to 1.0}} | ||
{{#vardefine:return|[ {{HoverText|0.0|float intensity}} ]}} | {{#vardefine:return|[ {{HoverText|0.0|float intensity}} ]}} | ||
{{#vardefine:glow_const|{{LSL Const|PRIM_GLOW|integer|25|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the glow of a prim's face}}}} | {{#vardefine:glow_const|{{LSL Const|PRIM_GLOW|integer|25|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the glow of a prim's face}}}} | ||
{{#vardefine:facetable|{{#var:facetable}} | {{#vardefine:facetable|{{#var:facetable}} | ||
{{!}}- | {{!}}- | ||
{{!}} [ {{#var:glow_const}} ] | {{!}} [ {{#var:glow_const}} ] | ||
{{!}} {{#var:return}} }} | {{!}} {{#var:return}} }} | ||
}}</onlyinclude>{{#if: | }}</onlyinclude>{{#if: | ||
{{LSL_Function/face|face|{{#var:glow_const}}|!footer=*|return={{#var:return}}}} | {{LSL_Function/face|face|{{#var:glow_const}}|!footer=*|return={{#var:return}}}} | ||
}}{{LSL Constant | }}{{LSL Constant | ||
|name=PRIM_GLOW | |name=PRIM_GLOW |
Revision as of 19:46, 17 April 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_GLOW = 25;The integer constant PRIM_GLOW has the value 25
PRIM_GLOW is used to get or set the glow status of the face. Use the integer number 25 if the compiler rejects the named constant.
[ PRIM_GLOW, integer face, float intensity ]
[ PRIM_GLOW, integer face, float intensity ]• integer | face | – | face number or ALL_SIDES | |
• float | intensity | – | ranges from 0.0 to 1.0 |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams([ PRIM_GLOW, integer face ]);
llGetPrimitiveParams([ PRIM_GLOW, integer face ]);Caveats
Related Articles
Constants
• | CHANGED_TEXTURE |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |
Events
• | changed |