From a5e5c0855de84086c367e53e9e698501a485919a Mon Sep 17 00:00:00 2001 From: brunosxs Date: Sat, 7 Oct 2017 11:45:13 -0300 Subject: [DOCS] Add descriptions to members of Camera2D --- doc/classes/Camera2D.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/classes/Camera2D.xml b/doc/classes/Camera2D.xml index b6b699612e..228b6ebf91 100644 --- a/doc/classes/Camera2D.xml +++ b/doc/classes/Camera2D.xml @@ -324,18 +324,24 @@ + The Camera2D's anchor point. See [code]ANCHOR_MODE_*[/code] constants. + If [code]true[/code] this camera is the active camera for the current scene. Only one camera can be current, so setting a different camera [code]current[/code] will disable this one. + Bottom margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen. + Left margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen. + Right margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen. + Top margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen. @@ -346,16 +352,21 @@ + Bottom scroll limit in pixels. The camera stops moving when reaching this value. + Left scroll limit in pixels. The camera stops moving when reaching this value. + Right scroll limit in pixels. The camera stops moving when reaching this value. + Top scroll limit in pixels. The camera stops moving when reaching this value. + The camera's offset, useful for looking around or camera shake animations. @@ -364,6 +375,7 @@ + The camera's zoom relative to the viewport. Values larger than [code]Vector2(1, 1)[/code] zoom out and smaller values zoom in. For an example, use [code]Vector2(0.5, 0.5)[/code] for a 2x zoom in, and [code]Vector2(4, 4)[/code] for a 4x zoom out. -- cgit v1.2.3