浏览代码

More precise description for is_visible_in_tree

PetePete1984 7 年之前
父节点
当前提交
f4d67433e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/CanvasItem.xml

+ 1 - 1
doc/classes/CanvasItem.xml

@@ -415,7 +415,7 @@
 			<return type="bool">
 			</return>
 			<description>
-				Returns [code]true[/code] if the node is in the [SceneTree] and is visible on-screen.
+				Returns [code]true[/code] if the node is present in the [SceneTree], its [member visible] property is [code]true[/code] and its inherited visibility is also [code]true[/code].
 			</description>
 		</method>
 		<method name="make_canvas_position_local" qualifiers="const">