Garry's Mod Wiki

ProjectedTexture:SetVerticalFOV

  ProjectedTexture:SetVerticalFOV( number vFOV )

Description

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

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

Arguments

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