GetCameraRotation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{deprecated}} | |||
__NOTOC__ | __NOTOC__ | ||
Line 21: | Line 22: | ||
==See Also== | ==See Also== | ||
{{Camera functions}} | {{Camera functions}} | ||
Revision as of 22:39, 11 April 2007
This function is deprecated. This means that its use is discouraged and that it might not exist in future versions, but there should be a more generic way to perform what it does. | |
OBSOLETED!
This function returns the rotation the specified player's camera would have if it's fixed (see setCameraMode).
Syntax
float float float getCameraRotation ( player thePlayer )
Required Arguments
- thePlayer: The player whose camera rotation you wish to obtain.
Returns
Returns three floats containing the x, y and z rotation values if the function was successful, false otherwise.
Example
See Also
- fadeCamera
- getCameraInterior
- getCameraMatrix
- getCameraTarget
- setCameraInterior
- setCameraMatrix
- setCameraTarget