Garry's Mod Wiki

Revision Difference

Enums/CONTENTS#516087

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