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,278
Updated: This Week
Updated: This Week
Garry's Mod
Rust
Steamworks
Wiki Help