summaryrefslogtreecommitdiff
path: root/doc/base/classes.xml
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-03-22 15:02:00 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-03-22 15:02:00 -0300
commitda7698073f9d38c1f546b30b44d2414a718904e5 (patch)
tree5e1d3b57a9a3e3c509e6111ec0a48e252dcbb5b8 /doc/base/classes.xml
parentf6e537b08f68a8f14193ef9472288be0925a1d16 (diff)
parentbfad3923878aa9b485f90a37bc04944828e35f27 (diff)
Merge pull request #1407 from NateWardawg/documentation
Updated the internal documention for the GDScript class.
Diffstat (limited to 'doc/base/classes.xml')
-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 e5bdcfbc6a..342941970f 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="weight" 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" >