Garry's Mod Wiki

IMaterial:SetVector4D

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

Just Added

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

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.

Page Links


Special Pages


Wikis

?

Render Time: 44ms

DB GetPage 4
Generate Html 8
SaveChanges (1) 19
Render Body 0
Render Sidebar 12