Garry's Mod Wiki

Revision Difference

Enums/MAT#516379

<cat>enum</cat> <enum> <description>Enumerations used in <page>TraceResult</page> and by <page>Entity:GetMaterialType</page>.</description> <items> <item key="MAT_ANTLION" value="6">5|Antlions</item>⤶ <item key="MAT_BLOODYFLESH" value="6">6|Similar to MAT_FLESH, only used by "bloodyflesh" surface property, has different impact sound</item>⤶ <item key="MAT_CONCRETE" value="6">7|Concrete</item>⤶ <item key="MAT_DIRT" value="6">8|Dirt</item>⤶ <item key="MAT_EGGSHELL" value="6">9|The egg sacs in the antlion tunnels in HL2: EP2</item>⤶ <item key="MAT_FLESH" value="7">0|Flesh</item>⤶ <item key="MAT_GRATE" value="7">1|Grates, chainlink fences</item>⤶ <item key="MAT_ALIENFLESH" value="7">2|Alien flesh - headcrabs and vortigaunts</item>⤶ <item key="MAT_CLIP" value="7">3|Unused</item>⤶ <item key="MAT_SNOW" value="7">4|Snow</item>⤶ <item key="MAT_PLASTIC" value="7">6|Plastic</item>⤶ <item key="MAT_METAL" value="7">7|Metal</item>⤶ <item key="MAT_SAND" value="7">8|Sand</item>⤶ <item key="MAT_FOLIAGE" value="7">9|Plants, only used by the "foliage" surface property</item>⤶ <item key="MAT_COMPUTER" value="8">0|Electronics, only used by "computer" surface property</item>⤶ <item key="MAT_SLOSH" value="8">3|Water, slime</item>⤶ <item key="MAT_TILE" value="8">4|Floor tiles</item>⤶ <item key="MAT_GRASS" value="8">5|Grass</item>⤶ <item key="MAT_VENT" value="8">6|Metallic vents</item>⤶ <item key="MAT_WOOD" value="8">7|Wood</item>⤶ <item key="MAT_DEFAULT" value="8">8|Skybox or nodraw texture</item>⤶ <item key="MAT_GLASS" value="8">9|Glass</item>⤶ <item key="MAT_WARPSHIELD" value="9">0|"wierd-looking jello effect for advisor shield."</item>⤶ <item key="MAT_ANTLION" value="65|Antlions"></item>⤶ <item key="MAT_BLOODYFLESH" value="66|Similar to MAT_FLESH, only used by "bloodyflesh" surface property, has different impact sound"></item>⤶ <item key="MAT_CONCRETE" value="67|Concrete"></item>⤶ <item key="MAT_DIRT" value="68|Dirt"></item>⤶ <item key="MAT_EGGSHELL" value="69|The egg sacs in the antlion tunnels in HL2: EP2"></item>⤶ <item key="MAT_FLESH" value="70|Flesh"></item>⤶ <item key="MAT_GRATE" value="71|Grates, chainlink fences"></item>⤶ <item key="MAT_ALIENFLESH" value="72|Alien flesh - headcrabs and vortigaunts"></item>⤶ <item key="MAT_CLIP" value="73|Unused"></item>⤶ <item key="MAT_SNOW" value="74|Snow"></item>⤶ <item key="MAT_PLASTIC" value="76|Plastic"></item>⤶ <item key="MAT_METAL" value="77|Metal"></item>⤶ <item key="MAT_SAND" value="78|Sand"></item>⤶ <item key="MAT_FOLIAGE" value="79|Plants, only used by the "foliage" surface property"></item>⤶ <item key="MAT_COMPUTER" value="80|Electronics, only used by "computer" surface property"></item>⤶ <item key="MAT_SLOSH" value="83|Water, slime"></item>⤶ <item key="MAT_TILE" value="84|Floor tiles"></item>⤶ <item key="MAT_GRASS" value="85|Grass"></item>⤶ <item key="MAT_VENT" value="86|Metallic vents"></item>⤶ <item key="MAT_WOOD" value="87|Wood"></item>⤶ <item key="MAT_DEFAULT" value="88|Skybox or nodraw texture"></item>⤶ <item key="MAT_GLASS" value="89|Glass"></item>⤶ <item key="MAT_WARPSHIELD" value="90|"wierd-looking jello effect for advisor shield.""></item>⤶ </items> </enum>