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: 58ms

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