Part of StarfallEx namespace
๐ External
hook.add("CalcView", "name", function(pos, ang, fov, znear, zfar) end)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Called when the engine wants to calculate the player's view (only works if connected to Starfall HUD)
Parameters
| Name | Type | Description |
|---|---|---|
pos | Vector | Current position of the camera |
ang | Angle | Current angles of the camera |
fov | number | Current fov of the camera |
znear | number | Current near plane of the camera |
zfar | number | Current far plane of the camera |
Returns
| Type | Description |
|---|---|
table | Table containing information for the camera. {origin=camera origin, angles=camera angles, fov=camera fov, znear=znear, zfar=zfar, drawviewer=drawviewer, ortho=ortho table} |
Examples
No examples available.
Used In
No usages found in the codebase.