From d1084df81a1efbd40c69dbb2ab1bd4a859cb1f2e Mon Sep 17 00:00:00 2001 From: Will Nations Date: Wed, 6 Dec 2017 13:47:11 -0600 Subject: [DOCS] Camera2D methods/constants --- doc/classes/Camera2D.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/classes/Camera2D.xml') diff --git a/doc/classes/Camera2D.xml b/doc/classes/Camera2D.xml index 86c89bf4ca..c95691d07f 100644 --- a/doc/classes/Camera2D.xml +++ b/doc/classes/Camera2D.xml @@ -23,6 +23,7 @@ + Removes any [code]Camera2D[/code] from the ancestor [Viewport]'s internal currently-assigned camera. @@ -43,24 +44,28 @@ + Returns the location of the [code]Camera2D[/code]'s screen-center, relative to the origin. + Returns the [Viewport] used by the camera if it is not using the default viewport. + Returns the horizontal offset of the camera. + Returns the vertical offset of the camera. @@ -84,6 +89,7 @@ + Assigns a custom [Viewport] node to the [code]Camera2D[/code]. If [code]viewport[/code] is not a [Viewport], it re-assigns the default viewport instead. @@ -92,6 +98,7 @@ + The camera's horizontal offset is set to [code]ofs[/code]. @@ -100,6 +107,7 @@ + The camera's vertical offset is set to [code]ofs[/code]. @@ -170,8 +178,10 @@ + The camera's position is fixed so that the top-left corner is always at the origin. + The camera's position takes into account vertical/horizontal offsets and the screen size. -- cgit v1.2.3