Garry's Mod Wiki

Revision Difference

Enums/MATERIAL_LIGHT#516039

<cat>enum</cat> <enumeration> <description>Enumerations used by <page>render.SetLocalModelLights</page>. Clientside only.</description> <fields>{{EnumField|MATERIAL_LIGHT_DISABLE|0|No light</fields>⤶ <fields>⤶ <item key="MATERIAL_LIGHT_DISABLE" value="0">No light</item>⤶ <item key="MATERIAL_LIGHT_POINT" value="1">Point light</item>⤶ <item key="MATERIAL_LIGHT_DIRECTIONAL" value="2">Directional light</item>⤶ <item key="MATERIAL_LIGHT_SPOT" value="3">Spot light</item>⤶ </fields>⤶ </enumeration> ⤶ ⤶ {{EnumField|MATERIAL_LIGHT_POINT|1|Point light}}⤶ {{EnumField|MATERIAL_LIGHT_DIRECTIONAL|2|Directional light}}⤶ {{EnumField|MATERIAL_LIGHT_SPOT|3|Spot light}}⤶ }}