Difference between revisions of "Camera Methods"
From Serious Sam Wiki
m (Innocentive moved page Template:Camera Methods to Camera Methods without leaving a redirect: changing methods templates to main namespace for easier inclusion)
Revision as of 00:21, 2 May 2016
This template contains a table with all methods of CCameraEntity. Use the following syntax to include it on another page:
|Name||Parameters||Return Data Type||Description|
|GetTanFOV||-||FLOAT||Returns tangent of the half of FOV angle which is really used by the camera when setting up the projection matrix.|
|MouseHitTest||*pas||IArgumentStack||void||Performs a raycast from current screen space coordinates into the scene and retrieves hit entity, hull, and position. For more information see Mouse Hit Test.|