Expose CanvasLayer::get_canvas_layer_node()

This commit is contained in:
TML
2024-01-12 09:37:23 +08:00
committed by Rémi Verschelde
parent b8f106acb2
commit 6a17f2a82d
3 changed files with 13 additions and 0 deletions

View File

@ -411,6 +411,12 @@
Returns the canvas item RID used by [RenderingServer] for this item.
</description>
</method>
<method name="get_canvas_layer_node" qualifiers="const">
<return type="CanvasLayer" />
<description>
Returns the [CanvasLayer] that contains this node, or [code]null[/code] if the node is not in any [CanvasLayer].
</description>
</method>
<method name="get_canvas_transform" qualifiers="const">
<return type="Transform2D" />
<description>