Manual/aimCamera
From Hungrysoftware
< Manual(Difference between revisions)
Kieran Millar (Talk | contribs)
(Created page with '==Syntax== '''aimCamera (x, y);''' ==Purpose== Aims the camera so that the point (''x'', ''y'') is in the centre of the window. If it is not possible to position the camera …')
(Created page with '==Syntax== '''aimCamera (x, y);''' ==Purpose== Aims the camera so that the point (''x'', ''y'') is in the centre of the window. If it is not possible to position the camera …')
Current revision as of 18:18, 8 December 2009
Contents |
Syntax
aimCamera (x, y);
Purpose
Aims the camera so that the point (x, y) is in the centre of the window. If it is not possible to position the camera so that the point is in the centre of the window without the user seeing an area outside of the scene image, the camera is moved to the closest possible valid position.
Return value
No return value.
This function is unavailable to unregistered users of the development kit. To use this function, and for a heap of other benefits, please register your copy of the SLUDGE development kit.
