summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-08-29 14:49:13 -0500
committerGitHub <noreply@github.com>2021-08-29 14:49:13 -0500
commitf27fa5139d05e3b85707b0e0eafd160adca423ff (patch)
treed419ed8886352e30e16e3467a0d004de59c20dae /doc
parent4d08a737fb868b4c2f47946aea7c9ec4ee97894d (diff)
parentee7bb9bbb9ebf5f4bb6d046340807e2982879428 (diff)
Merge pull request #47635 from aaronfranke/node2d3d-transform
Display a matrix for Node2D and don't display a duplicate origin
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Node2D.xml2
-rw-r--r--doc/classes/Node3D.xml3
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/classes/Node2D.xml b/doc/classes/Node2D.xml
index cc790b7c28..e85b16c164 100644
--- a/doc/classes/Node2D.xml
+++ b/doc/classes/Node2D.xml
@@ -115,7 +115,7 @@
</member>
<member name="skew" type="float" setter="set_skew" getter="get_skew" default="0.0">
</member>
- <member name="transform" type="Transform2D" setter="set_transform" getter="get_transform">
+ <member name="transform" type="Transform2D" setter="set_transform" getter="get_transform" default="Transform2D(1, 0, 0, 1, 0, 0)">
Local [Transform2D].
</member>
<member name="y_sort_enabled" type="bool" setter="set_y_sort_enabled" getter="is_y_sort_enabled" default="false">
diff --git a/doc/classes/Node3D.xml b/doc/classes/Node3D.xml
index 49901dc4d9..b0034e791a 100644
--- a/doc/classes/Node3D.xml
+++ b/doc/classes/Node3D.xml
@@ -255,6 +255,9 @@
</method>
</methods>
<members>
+ <member name="basis" type="Basis" setter="set_basis" getter="get_basis" default="Basis(1, 0, 0, 0, 1, 0, 0, 0, 1)">
+ Local space [Basis] of this node, with respect to the parent node. This is the same as [code]transform.basis[/code].
+ </member>
<member name="global_transform" type="Transform3D" setter="set_global_transform" getter="get_global_transform">
World3D space (global) [Transform3D] of this node.
</member>