فهرست منبع

Merge pull request #29840 from Anutrix/master

Added description in TranslationServer and OpenSimplexNoise
Rémi Verschelde 6 سال پیش
والد
کامیت
08ebeee0e1
2فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 1 0
      doc/classes/TranslationServer.xml
  2. 2 0
      modules/opensimplex/doc_classes/OpenSimplexNoise.xml

+ 1 - 0
doc/classes/TranslationServer.xml

@@ -31,6 +31,7 @@
 			<return type="Array">
 			</return>
 			<description>
+				Returns an Array of all loaded locales of the game.
 			</description>
 		</method>
 		<method name="get_locale" qualifiers="const">

+ 2 - 0
modules/opensimplex/doc_classes/OpenSimplexNoise.xml

@@ -41,6 +41,8 @@
 			<argument index="0" name="x" type="float">
 			</argument>
 			<description>
+				Returns the 1D noise value [code][-1,1][/code] at the given x-coordinate.
+				Note: This method actually returns the 2D noise value [code][-1,1][/code] with fixed y-coordinate value 0.0.
 			</description>
 		</method>
 		<method name="get_noise_2d">