Skip to content
lsl.devlsl.devLSL Dev

PRIM_MATERIAL_GLASS

constant
Constant
integer PRIM_MATERIAL_GLASS = 2;

Prim material constant: glass (features very low friction).

Constant groups

PhysicsMaterialPreset

Other PhysicsMaterialPreset values (6)

Very low friction

ConstantTypeValueDescription
PRIM_MATERIAL

|}

ConstantTypeValueDescription
PRIM_MATERIAL_STONEinteger0stone
PRIM_MATERIAL_METALinteger1metal
PRIM_MATERIAL_GLASSinteger2glass
PRIM_MATERIAL_WOODinteger3wood
PRIM_MATERIAL_FLESHinteger4flesh
PRIM_MATERIAL_PLASTICinteger5plastic
PRIM_MATERIAL_RUBBERinteger6rubber
PRIM_MATERIAL_LIGHTinteger7light, DEPRECATED: Looks the same as [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ]
material FlagsDescriptionFrictionRestitution
0.80.4
0.30.4
0.20.7
0.60.5
0.90.3
0.40.7
0.90.9
light, DEPRECATED: Looks the same as [ PRIM_FULLBRIGHT, ALL_SIDES, TRUE ]0.60.5
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.