Garry's Mod Wiki

ProjectedTexture:SetHorizontalFOV

  ProjectedTexture:SetHorizontalFOV( number hFOV )

Description

Sets the horizontal angle of projection without affecting the vertical angle.

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

Arguments

1 number hFOV
The new horizontal Field Of View for the projected texture. Must be in range between 0 and 180.