summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-02-25 11:21:15 +0100
committerRémi Verschelde <rverschelde@gmail.com>2019-02-25 11:22:41 +0100
commit88a36e20cb09b3843c81e9f6dfd589fc3a269cd0 (patch)
treed3f9cedd72731bfefca25e8724441a7d39239ddb /doc/classes
parent51bd516a076f959e1d63343217cd1436819504ce (diff)
doc: Sync classref with current source
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorSpatialGizmo.xml2
-rw-r--r--doc/classes/Engine.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/classes/EditorSpatialGizmo.xml b/doc/classes/EditorSpatialGizmo.xml
index 45b92276f1..0bec11e183 100644
--- a/doc/classes/EditorSpatialGizmo.xml
+++ b/doc/classes/EditorSpatialGizmo.xml
@@ -66,6 +66,8 @@
</argument>
<argument index="2" name="skeleton" type="RID">
</argument>
+ <argument index="3" name="material" type="Material" default="null">
+ </argument>
<description>
</description>
</method>
diff --git a/doc/classes/Engine.xml b/doc/classes/Engine.xml
index b8808b8b53..d947784676 100644
--- a/doc/classes/Engine.xml
+++ b/doc/classes/Engine.xml
@@ -96,7 +96,7 @@
"string" - major + minor + patch + status + build in a single String
The "hex" value is encoded as follows, from left to right: one byte for the major, one byte for the minor, one byte for the patch version. For example, "3.1.12" would be [code]0x03010C[/code]. Note that it's still an int internally, and printing it will give you its decimal representation, which is not particularly meaningful. Use hexadecimal literals for easy version comparisons from code:
[codeblock]
- if Engine.get_version_info().hex >= 0x030200:
+ if Engine.get_version_info().hex &gt;= 0x030200:
# do things specific to version 3.2 or later
else:
# do things specific to versions before 3.2