Garry's Mod Wiki

Revision Difference

Enums/CONTENTS#516175

<cat>enum</cat> <enumeration> <description>Enumerations used by <page>util.PointContents</page> and as tracer masks.</description> <fields> <item key="CONTENTS_EMPTY" value="0">Things that are not solid</item> <item key="CONTENTS_SOLID" value="1">Things that are solid</item> <item key="CONTENTS_WINDOW" value="2">Glass</item> <item key="CONTENTS_AUX" value="4 ⤶ <item key="CONTENTS_SOLID" value="1">Things that are solid</item> ⤶ <item key="CONTENTS_WINDOW" value="2">Glass</item> ⤶ <item key="CONTENTS_AUX" value="4 </fields> </enumeration> {{EnumField">CONTENTS_GRATE|8|Bullets go through, solids don't</item> <item key="CONTENTS_SLIME" value="16}} ⤶ <item key="CONTENTS_SLIME" value="16}} {{EnumField">CONTENTS_WATER|32|Hits world but not skybox</item> <item key="CONTENTS_BLOCKLOS" value="64">Things that block line of sight</item> <item key="CONTENTS_OPAQUE" value="128">Things that block light</item> <item key="CONTENTS_TESTFOGVOLUME" value="256}} ⤶ <item key="CONTENTS_BLOCKLOS" value="64">Things that block line of sight</item> ⤶ <item key="CONTENTS_OPAQUE" value="128">Things that block light</item> ⤶ <item key="CONTENTS_TESTFOGVOLUME" value="256}} {{EnumField">CONTENTS_TEAM4|512</item> <item key="CONTENTS_TEAM3" value="1024}} ⤶ <item key="CONTENTS_TEAM3" value="1024}} {{EnumField">CONTENTS_TEAM1|2048</item> <item key="CONTENTS_TEAM2" value="4096}} ⤶ <item key="CONTENTS_TEAM2" value="4096}} {{EnumField">CONTENTS_IGNORE_NODRAW_OPAQUE|8192</item> <item key="CONTENTS_MOVEABLE" value="16384}} ⤶ <item key="CONTENTS_MOVEABLE" value="16384}} {{EnumField">CONTENTS_AREAPORTAL|32768</item> <item key="CONTENTS_PLAYERCLIP" value="65536}} ⤶ <item key="CONTENTS_PLAYERCLIP" value="65536}} {{EnumField">CONTENTS_MONSTERCLIP|131072</item> <item key="CONTENTS_CURRENT_0" value="262144}} ⤶ <item key="CONTENTS_CURRENT_0" value="262144}} {{EnumField">CONTENTS_CURRENT_180|1048576</item> <item key="CONTENTS_CURRENT_270" value="2097152}} ⤶ <item key="CONTENTS_CURRENT_270" value="2097152}} {{EnumField">CONTENTS_CURRENT_90|524288</item> <item key="CONTENTS_CURRENT_DOWN" value="8388608}} ⤶ <item key="CONTENTS_CURRENT_DOWN" value="8388608}} {{EnumField">CONTENTS_CURRENT_UP|4194304</item> <item key="CONTENTS_DEBRIS" value="67108864}} ⤶ <item key="CONTENTS_DEBRIS" value="67108864}} {{EnumField">CONTENTS_DETAIL|134217728</item> <item key="CONTENTS_HITBOX" value="1073741824">Hitbox</item> <item key="CONTENTS_LADDER" value="536870912">Ladder</item> <item key="CONTENTS_MONSTER" value="33554432">NPCs</item> <item key="CONTENTS_ORIGIN" value="16777216}} ⤶ <item key="CONTENTS_HITBOX" value="1073741824">Hitbox</item> ⤶ <item key="CONTENTS_LADDER" value="536870912">Ladder</item> ⤶ <item key="CONTENTS_MONSTER" value="33554432">NPCs</item> ⤶ <item key="CONTENTS_ORIGIN" value="16777216}} {{EnumField">CONTENTS_TRANSLUCENT|268435456|Hits world but not skybox</item> <item key="LAST_VISIBLE_CONTENTS" value="128">Last visible contents enumeration</item> <item key="ALL_VISIBLE_CONTENTS" value="255">Sum of all the visible contents enumerations</item> }}⤶ <item key="LAST_VISIBLE_CONTENTS" value="128">Last visible contents enumeration</item> ⤶ <item key="ALL_VISIBLE_CONTENTS" value="255">Sum of all the visible contents enumerations</item> }}