b3dCameraFOV

Sets camera field of view in degrees (perspective projection width). Takes camera (camera entity handle), fov (field of view angle in degrees). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

camera Int
fov Double

Returns

Void

Quick Summary

Sets camera field of view in degrees (perspective projection width). Takes camera (camera entity handle), fov (field of view angle in degrees). Returns nothing.

Technical Exegesis...

Sets camera field of view in degrees (perspective projection width). Takes camera (camera entity handle), fov (field of view angle in degrees). Returns nothing. Validates entity is camera type, allocates camera->Camera3D if null, sets camera->fov=(float)fov. Controls horizontal viewing angle for perspective cameras.

This function sets camera FOV angle.

Example

Example.bam
; No example implemented yet