Garry's Mod Wiki

Garry's Mod Wiki

  ProjectedTexture:SetLinearAttenuation( number linearAtten )

Description

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.

Arguments

1 number linearAtten

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...