summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2019-03-14 13:58:29 +0100
committerTomasz Chabora <kobewi4e@gmail.com>2019-08-06 16:19:02 +0200
commit459f5cb75e09fa673267d5aa63a9038a29b7131a (patch)
tree89acca372aa1dc2497c8127f05799643fc1cb1a4 /doc
parent365994a6305fe7eb1e1e40bc8a780be59ab6bf59 (diff)
Tweaks related to Camera2D drag margins
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Camera2D.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/classes/Camera2D.xml b/doc/classes/Camera2D.xml
index 750b6851b6..f524a02934 100644
--- a/doc/classes/Camera2D.xml
+++ b/doc/classes/Camera2D.xml
@@ -154,9 +154,11 @@
</member>
<member name="offset_h" type="float" setter="set_h_offset" getter="get_h_offset" default="0.0">
The horizontal offset of the camera, relative to the drag margins.
+ [b]Note:[/b] Offset H is used only to force offset relative to margins. It's not updated in any way if drag margins are enabled and can be used to set inital offset.
</member>
<member name="offset_v" type="float" setter="set_v_offset" getter="get_v_offset" default="0.0">
The vertical offset of the camera, relative to the drag margins.
+ [b]Note:[/b] Used the same as [member offset_h].
</member>
<member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="Camera2D.Camera2DProcessMode" default="1">
</member>