Garry's Mod Wiki

IMaterial:SetVector

  IMaterial:SetVector( string MaterialVector, Vector vec )

Description

Sets the specified material vector to the specified vector, does nothing on a type mismatch.

Arguments

1 string MaterialVector
The name of the material vector.
2 Vector vec
The new vector.