Garry's Mod Wiki


ProjectedTexture:SetLinearAttenuation( number linearAtten )


Sets the linear attenuation of the projected texture.

See also ProjectedTexture:SetConstantAttenuation and ProjectedTexture:SetQuadraticAttenuation.

The default value of linear attenuation when the projected texture is created is 100. (others are 0, as you are not supposed to mix them)

You must call ProjectedTexture:Update after using this function for it to take effect.


1 number linearAtten

Page Links

Special Pages



Render Time: 45ms

DB GetPage 6
Generate Html 2
SaveChanges (1) 15
Render Body 0
Render Sidebar 20