camerafocal
Jump to navigation
Jump to search
The camerafocal
script command is used to set the focal length for a Camera. The game assumes an image plane that is 480 units high, which means the vertical field of view of the camera will be calculated as vfov = 2 * tan-1(240 / focal)
. The effective field of view will be smaller if cinematic borders have been activated using cinemascope
.
Usage
camerafocal <focal*>
Context: Cameras
Parameters:
Parameter | Type | Description |
---|---|---|
focal |
number or variable [100,800] |
The focal length to use |