summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Warden <nathanwardenlee@icloud.com>2015-02-20 13:05:21 -0500
committerNathan Warden <nathanwardenlee@icloud.com>2015-02-20 13:05:21 -0500
commit071b2ea4f205ea99346a5cf73afdd50f7ccc95ed (patch)
tree9ebf232873e61f05a91e801ad02050ea0dd6fa20
parent31e076d16affca682e956c966c0a8f9218a2b192 (diff)
Updated the internal documention for the GDScript class.
-rw-r--r--doc/base/classes.xml29
1 files changed, 26 insertions, 3 deletions
diff --git a/doc/base/classes.xml b/doc/base/classes.xml
index 35de0106b5..7c5530682e 100644
--- a/doc/base/classes.xml
+++ b/doc/base/classes.xml
@@ -257,13 +257,14 @@
<method name="lerp" >
<return type="float">
</return>
- <argument index="0" name="a" type="float">
+ <argument index="0" name="from" type="float">
</argument>
- <argument index="1" name="b" type="float">
+ <argument index="1" name="to" type="float">
</argument>
- <argument index="2" name="c" type="float">
+ <argument index="2" name="percent" type="float">
</argument>
<description>
+ Linear interpolates between two values by a normalized value.
</description>
</method>
<method name="dectime" >
@@ -276,6 +277,7 @@
<argument index="2" name="step" type="float">
</argument>
<description>
+ Decreases time by a specified amount.
</description>
</method>
<method name="randomize" >
@@ -421,6 +423,7 @@
<argument index="1" name="funcname" type="String">
</argument>
<description>
+ Returns a reference to the specified function
</description>
</method>
<method name="convert" >
@@ -475,6 +478,7 @@
<argument index="1" name="..." type="var">
</argument>
<description>
+ Print one or more arguments to the console with a tab between each argument.
</description>
</method>
<method name="printerr" >
@@ -499,6 +503,24 @@
Print one or more arguments to strings in the best way possible to console. No newline is added at the end.
</description>
</method>
+ <method name="var2str" >
+ <return type="String">
+ </return>
+ <argument index="0" name="var" type="var">
+ </argument>
+ <description>
+ Converts the value of a variable to a String.
+ </description>
+ </method>
+ <method name="str2var:var" >
+ <return type="String">
+ </return>
+ <argument index="0" name="str" type="String">
+ </argument>
+ <description>
+ Converts the value of a String to a variable.
+ </description>
+ </method>
<method name="range" >
<return type="Array">
</return>
@@ -544,6 +566,7 @@
<argument index="0" name="var:var" type="var">
</argument>
<description>
+ Hashes the variable passed and returns an integer.
</description>
</method>
<method name="print_stack" >