GetCameraPosition: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
float float float getCameraPosition ( | float float float getCameraPosition ( ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===Returns=== | ===Returns=== | ||
Line 14: | Line 11: | ||
==Example== | ==Example== | ||
This page lacks an example. | |||
This example | |||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
--Add an example here | |||
</syntaxhighlight> | </syntaxhighlight> | ||
==See Also== | ==See Also== | ||
{{Camera functions}} | {{Camera functions}} | ||
[[Category:Needs_Example]] |
Revision as of 20:18, 29 November 2007
This function returns the position the player's camera would have if the camera mode is fixed (see setCameraMode).
Syntax
float float float getCameraPosition ( )
Returns
Returns three floats containing the x, y and z coordinates if the function was successful, false otherwise.
Example
This page lacks an example.
--Add an example here