PRIM MATERIAL LIGHT

From Second Life Wiki
Revision as of 10:44, 24 April 2009 by Strife Onizuka (talk | contribs) (New page: {{LSL Constant |name=PRIM_MATERIAL_LIGHT |type=integer |value=7 |desc=This constant and it's underlying functionality is deprecated.<br/> Light is no longer a prim property, it is now a fa...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

Constant: integer PRIM_MATERIAL_LIGHT = 7;

The integer constant PRIM_MATERIAL_LIGHT has the value 7

This constant and it's underlying functionality is deprecated.
Light is no longer a prim property, it is now a face property. The same functionality is reproduced with [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ]

Related Articles

Constants

•  PRIM_MATERIAL
material Flags Description Friction Restitution
PRIM_MATERIAL_STONE 0 stone 0.8 0.4
PRIM_MATERIAL_METAL 1 metal 0.3 0.4
PRIM_MATERIAL_GLASS 2 glass 0.2 0.7
PRIM_MATERIAL_WOOD 3 wood 0.6 0.5
PRIM_MATERIAL_FLESH 4 flesh 0.9 0.3
PRIM_MATERIAL_PLASTIC 5 plastic 0.4 0.7
PRIM_MATERIAL_RUBBER 6 rubber 0.9 0.9
PRIM_MATERIAL_LIGHT 7 light, DEPRECATED: Looks the same as [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ] 0.6 0.5

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams
•  llGetPrimitiveParams

Events

•  changed

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_MATERIAL_LIGHT = 7;