Garry's Mod Wiki

IMaterial:GetVector

  Vector IMaterial:GetVector( string materialVector )

Description

Returns the specified material vector, or nil if the value is not set.

See also IMaterial:GetVectorLinear

Arguments

1 string materialVector
The name of the material vector.

Returns

1 Vector
The color vector