浏览代码

Merge pull request #18168 from martinRenou/fix_texturenode_typedef

TextureNode: Fix type definition
Michael Herzog 5 年之前
父节点
当前提交
7a811a63d4
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      examples/jsm/nodes/inputs/TextureNode.d.ts

+ 2 - 2
examples/jsm/nodes/inputs/TextureNode.d.ts

@@ -12,9 +12,9 @@ export class TextureNode extends InputNode {
 
 	constructor( value: Texture, uv?: UVNode, bias?: Node, project?: boolean );
 
-	value: Matrix4;
+	value: Texture;
 	uv: UVNode;
-	bias: Matrix4;
+	bias: Node;
 	project: boolean;
 	nodeType: string;