浏览代码

Added description to get_noise_1d() in OpenSimplexNoise

unknown 6 年之前
父节点
当前提交
8786075ec0
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      modules/opensimplex/doc_classes/OpenSimplexNoise.xml

+ 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">