IMaterial:SetInt
Description
Sets the specified material value to the specified int, does nothing on a type mismatch.
Calls IMaterial:Recompute internally.
Please note that certain material flags such as
$model are stored in the $flags variable and cannot be directly set with this function. See the full list here: Material FlagsArguments
Page views: 14,411
Updated: This Month
Updated: This Month
Garry's Mod
Rust
Steamworks
Wiki Help