summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-08-15 14:50:26 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-08-23 15:53:07 +0200
commit9eb10f1e4a470d5d3cc5d94f8daa9e36297b0f28 (patch)
treeaa41477029d234d53ccd5e8432b3ecc11f384ce2 /doc/classes
parent791d7f78b52f5b828aa5541897e12c6a1861ef6f (diff)
Add an `editor_description` property to Node for documentation purposes
It is implemented using editor-only metadata, in a way similar to edit locking or Position2D gizmo extents. This closes #2082.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/GraphNode.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/GraphNode.xml b/doc/classes/GraphNode.xml
index 6bc09e5289..df641883af 100644
--- a/doc/classes/GraphNode.xml
+++ b/doc/classes/GraphNode.xml
@@ -174,6 +174,7 @@
</methods>
<members>
<member name="comment" type="bool" setter="set_comment" getter="is_comment" default="false">
+ If [code]true[/code], the GraphNode is a comment node.
</member>
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2( 0, 0 )">
The offset of the GraphNode, relative to the scroll offset of the [GraphEdit].