Garry's Mod Wiki

IMaterial:GetVectorLinear

Vector IMaterial:GetVectorLinear( string materialVector )

Description

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

See https://en.wikipedia.org/wiki/Gamma_correction

See also IMaterial:GetVector

Arguments

1 string materialVector
The name of the material vector.

Returns

1 Vector
The linear color vector

Page Links


Special Pages


Wikis

?

Render Time: 271ms

DB GetPage 218
Generate Html 9
SaveChanges (1) 29
Render Body 0
Render Sidebar 12