Garry's Mod Wiki

Revision Difference

Enums/SURF#514949

<cat>enum</cat>⤶ <enumeration>⤶ <description>Surface flags, used by the <page>TraceResult</page>.</description>⤶ <fields>{{EnumField|SURF_LIGHT|1|Value will hold the light strength</fields>⤶ ⤶ </enumeration>⤶ ⤶ ⤶ {{EnumField|SURF_SKY2D|2|The surface is a 2D skybox}}⤶ {{EnumField|SURF_SKY|4|This surface is a skybox, equivalent to HitSky in <page>TraceResult</page>}}⤶ {{EnumField|SURF_WARP|8|This surface is animated water}}⤶ {{EnumField|SURF_TRANS|16|This surface is translucent}}⤶ {{EnumField|SURF_NOPORTAL|32|This surface cannot have portals placed on, used by Portal's gun}}⤶ {{EnumField|SURF_TRIGGER|64|This surface is a trigger}}⤶ {{EnumField|SURF_NODRAW|128|This surface is an invisible entity, equivalent to HitNoDraw in <page>TraceResult</page> }}⤶ {{EnumField|SURF_HINT|256|Make a primary bsp splitter}}⤶ {{EnumField|SURF_SKIP|512|This surface can be ignored by impact effects}}⤶ {{EnumField|SURF_NOLIGHT|1024|This surface has no lights calculated}}⤶ {{EnumField|SURF_BUMPLIGHT|2048|Calculate three lightmaps for the surface for bumpmapping}}⤶ {{EnumField|SURF_NOSHADOWS|4096|No shadows are cast on this surface}}⤶ {{EnumField|SURF_NODECALS|8192|No decals are applied to this surface}}⤶ {{EnumField|SURF_NOCHOP|16384|Don't subdivide patches on this surface}}⤶ {{EnumField|SURF_HITBOX|32768|This surface is part of an entity's hitbox}}⤶ }}