Garry's Mod Wiki

IMaterial:GetVector4D

  number, number, number, number IMaterial:GetVector4D( string name )

Description

Returns the specified material vector as a 4 component vector.

Arguments

1 string name
The name of the material vector to retrieve.

Returns

1 number x
The x component of the vector.
2 number y
The y component of the vector.
3 number z
The z component of the vector.
4 number w
The w component of the vector.