GetCameraRotation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{Needs_Checking|This function is now clientside only.}} | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | |||
This function returns the local camera rotation. | |||
This function returns the rotation | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
float float float getCameraRotation ( | float, float, float getCameraRotation ( ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Returns=== | ===Returns=== | ||
Returns three [[float | Returns three [[float]]s containing the X, Y and Z rotation values. | ||
==Example== | ==Example== |
Revision as of 15:32, 31 August 2007
This article needs checking. | |
Reason(s): This function is now clientside only. |
This function returns the local camera rotation.
Syntax
float, float, float getCameraRotation ( )
Returns
Returns three floats containing the X, Y and Z rotation values.