PRIM_MATERIAL_GLASS
constant
ConstantSet with Get with Get with
integer PRIM_MATERIAL_GLASS = 2;llSetLinkPrimitiveParamsFastPRIM_MATERIAL, PRIM_MATERIAL_GLASSllGetObjectDetailsOBJECT_MATERIAL → PRIM_MATERIAL_GLASSllGetLinkPrimitiveParams, llGetPrimitiveParamsPRIM_MATERIAL → PRIM_MATERIAL_GLASSPrim material constant: glass (features very low friction).
Other PhysicsMaterialPreset values (6)
Very low friction
See also
Section titled “See also”Constants
Section titled “Constants”| Constant | Type | Value | Description |
|---|---|---|---|
PRIM_MATERIAL_STONE | integer | 0 | stone |
PRIM_MATERIAL_METAL | integer | 1 | metal |
PRIM_MATERIAL_GLASS | integer | 2 | glass |
PRIM_MATERIAL_WOOD | integer | 3 | wood |
PRIM_MATERIAL_FLESH | integer | 4 | flesh |
PRIM_MATERIAL_PLASTIC | integer | 5 | plastic |
PRIM_MATERIAL_RUBBER | integer | 6 | rubber |
| PRIM_MATERIAL_LIGHT | integer | 7 | light, DEPRECATED: Looks the same as [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ] |
material Flags | Description | Friction | Restitution | ||||
|---|---|---|---|---|---|---|---|
| 0.8 | 0.4 | ||||||
| 0.3 | 0.4 | ||||||
| 0.2 | 0.7 | ||||||
| 0.6 | 0.5 | ||||||
| 0.9 | 0.3 | ||||||
| 0.4 | 0.7 | ||||||
| 0.9 | 0.9 | ||||||
light, DEPRECATED: Looks the same as [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ] | 0.6 | 0.5 | |||||
Functions
Section titled “Functions”Events
Section titled “Events”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.