summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-04-17 23:14:03 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-04-17 23:17:31 +0200
commitf8a413bb1f97767c336bad1a95f59463bebbd87b (patch)
tree0b27c702c62563fad1b9f4fb44f2e8677ff73739
parentd817be92c2d9edce842ab37ab13117743f8a3bee (diff)
Document how to workaround UI anchor issues when using BackBufferCopy
This closes #6880.
-rw-r--r--doc/classes/BackBufferCopy.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/BackBufferCopy.xml b/doc/classes/BackBufferCopy.xml
index 1f7554f978..7cc6a5613b 100644
--- a/doc/classes/BackBufferCopy.xml
+++ b/doc/classes/BackBufferCopy.xml
@@ -5,6 +5,7 @@
</brief_description>
<description>
Node for back-buffering the currently-displayed screen. The region defined in the BackBufferCopy node is bufferized with the content of the screen it covers, or the entire screen according to the copy mode set. Use the [code]texture(SCREEN_TEXTURE, ...)[/code] function in your shader scripts to access the buffer.
+ [b]Note:[/b] Since this node inherits from [Node2D] (and not [Control]), anchors and margins won't apply to child [Control]-derived nodes. This can be problematic when resizing the window. To avoid this, add [Control]-derived nodes as [i]siblings[/i] to the BackBufferCopy node instead of adding them as children.
</description>
<tutorials>
</tutorials>