Garry's Mod Wiki

util.IsSkyboxVisibleFromPoint

  boolean util.IsSkyboxVisibleFromPoint( Vector position )

Description

Check whether the skybox is visible from the point specified.

This will always return true in fullbright maps.

Arguments

1 Vector position
The position to check the skybox visibility from.

Returns

1 boolean
Whether the skybox is visible from the position.