Revision Difference
IMaterial:SetInt#523757
<function name="SetInt" parent="IMaterial" type="classfunc">
<description>Sets the specified material value to the specified int, does nothing on a type mismatch.</description>⤶
<description>Sets the specified material value to the specified int, does nothing on a type mismatch.⤶
⤶
Certain material flags are actually stored in the variable `$flags`, such as:⤶
* `$alphatest` - flag 256⤶
* `$model` - flag 2048⤶
* `$vertexcolor` - 16⤶
* `$vertexalpha` - 32⤶
* `$ignorez` - 32768⤶
* `$translucent` - 2097152⤶
* You can find the full list [here](https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/public/materialsystem/imaterial.h#L353)⤶
⤶
</description>⤶
<realm>Shared</realm>
<args>
<arg name="materialInt" type="string">The name of the material int.</arg>
<arg name="int" type="number">The new int value.</arg>
</args>
</function>