PRIM GLOW

From Second Life Wiki

Jump to: navigation, search

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 ]

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

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 function works on all sides.
  • If face indicates a face that does not exist the return is [ 0.0 ]

Related Functions, Events & Constants

Constants

•  CHANGED_TEXTURE

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams
•  llGetPrimitiveParams

Events

•  changed
Personal tools