Garry's Mod Wiki

ProjectedTexture:SetConstantAttenuation

  ProjectedTexture:SetConstantAttenuation( number constAtten )

Description

Sets the constant attenuation of the projected texture.

See also ProjectedTexture:SetLinearAttenuation and ProjectedTexture:SetQuadraticAttenuation.

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

Arguments

1 number constAtten