Garry's Mod Wiki

IMaterial:SetVector4D

IMaterial:SetVector4D

IMaterial:SetVector4D( string name, number x, number y, number z, number w )

Description

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

Arguments

1 string name
The name of the material vector.
2 number x
The x component of the new vector.
3 number y
The y component of the new vector.
4 number z
The z component of the new vector.
5 number w
The w component of the new vector.

Special Pages


Wikis

?

Render Time: 28ms

DB GetPage 3
Generate Html 7
SaveChanges (1) 7
Render Body 0
Render Sidebar 8