doc: Add note about VisibilityNotifier.is_on_screen after instantiation
Fixes #9430.
(cherry picked from commit 3fc1f7dfbe
)
This commit is contained in:
parent
d99a0a5fba
commit
af12b2d18b
|
@ -16,6 +16,7 @@
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code], the bounding box is on the screen.
|
If [code]true[/code], the bounding box is on the screen.
|
||||||
|
Note: It takes one frame for the node's visibility to be assessed once added to the scene tree, so this method will return [code]false[/code] right after it is instantiated, even if it will be on screen in the draw pass.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
|
|
@ -16,6 +16,7 @@
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code], the bounding rectangle is on the screen.
|
If [code]true[/code], the bounding rectangle is on the screen.
|
||||||
|
Note: It takes one frame for the node's visibility to be assessed once added to the scene tree, so this method will return [code]false[/code] right after it is instantiated, even if it will be on screen in the draw pass.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
|
Loading…
Reference in New Issue