Difference between revisions of "PRIM GLOW"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
{{#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 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>{{LSL_Function/face|face|{{#var:glow_const}}|!footer=*|return={{#var:return}}}}
}}</onlyinclude>{{#if:
{{LSL Constant
{{LSL_Function/face|face|{{#var:glow_const}}|!footer=*|return={{#var:return}}}}
}}{{LSL Constant
|name=PRIM_GLOW
|name=PRIM_GLOW
|type=integer
|type=integer
|value=25
|value=25
|desc=PRIM_GLOW is used to get and set the glow status of the {{LSL Param|face}}. Use the integer number 25 if the compiler rejects the named constant.
|desc=PRIM_GLOW is used to get or set the glow status of the {{LSL Param|face}}. Use the integer number 25 if the compiler rejects the named constant.
|pa={{LSL Constant/List|i_front=[&#32;{{#var:glow_const}},&#32;|i_end=&nbsp;]
|pa={{LSL Constant/List|i_front=[&#32;{{#var:glow_const}},&#32;|i_end=&nbsp;]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]

Revision as of 14:08, 17 April 2008

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 ]);

Returns the list [ float intensity ]

• integer face face number or ALL_SIDES

• float intensity ranges from 0.0 to 1.0

Caveats:

  • If face is ALL_SIDES then the PRIM_GLOW works on all sides.
  • If face indicates a face that does not exist the PRIM_GLOW return is [ 0.0 ]

Caveats

  • If face is ALL_SIDES then the PRIM_GLOW works on all sides.
  • If face indicates a face that does not exist the PRIM_GLOW return is [ 0.0 ]


Related Articles

Constants

•  CHANGED_TEXTURE

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams
•  llGetPrimitiveParams

Events

•  changed

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_GLOW = 25;