sunag 1 год назад
Родитель
Сommit
66d95a00bd
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/nodes/core/NodeFunctionInput.js

+ 2 - 2
src/nodes/core/NodeFunctionInput.js

@@ -8,7 +8,7 @@ class NodeFunctionInput {
 	 *
 	 * @param {String} type - The input type.
 	 * @param {String} name - The input name.
-	 * @param {Number?} [count=null] - TODO (only relevant for GLSL).
+	 * @param {Number?} [count=null] - If the input is an Array, count will be the length.
 	 * @param {('in'|'out'|'inout')} [qualifier=''] - The parameter qualifier (only relevant for GLSL).
 	 * @param {Boolean} [isConst=false] - Whether the input uses a const qualifier or not (only relevant for GLSL).
 	 */
@@ -29,7 +29,7 @@ class NodeFunctionInput {
 		this.name = name;
 
 		/**
-		 * TODO (only relevant for GLSL).
+		 * If the input is an Array, count will be the length.
 		 *
 		 * @type {Number?}
 		 * @default null

粤ICP备19079148号