Clarify what `top_level` does in CanvasItem
This commit is contained in:
parent
b7850bb1e8
commit
f049c7ed06
|
@ -490,7 +490,7 @@
|
|||
The texture repeating mode to use on this [CanvasItem].
|
||||
</member>
|
||||
<member name="top_level" type="bool" setter="set_as_top_level" getter="is_set_as_top_level" default="false">
|
||||
If [code]true[/code], the node will not inherit its transform from parent [CanvasItem]s.
|
||||
If [code]true[/code], this [CanvasItem] will [i]not[/i] inherit its transform from parent [CanvasItem]s. Its draw order will also be changed to make it draw on top of other [CanvasItem]s that do not have [member top_level] set to [code]true[/code]. The [CanvasItem] will effectively act as if it was placed as a child of a bare [Node].
|
||||
</member>
|
||||
<member name="use_parent_material" type="bool" setter="set_use_parent_material" getter="get_use_parent_material" default="false">
|
||||
If [code]true[/code], the parent [CanvasItem]'s [member material] property is used as this one's material.
|
||||
|
|
Loading…
Reference in New Issue