Garry's Mod Wiki


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

Just Added

This was just added in the latest version (2020.08.12). It might only be available on the Dev Branch right now.


Returns the specified material vector as a 4 component vector.


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


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.

Page Links

Special Pages



Render Time: 40ms

DB GetPage 3
Generate Html 12
SaveChanges (1) 9
Render Body 0
Render Sidebar 13