diff --git a/types/three/examples/jsm/nodes/core/AttributeNode.d.ts b/types/three/examples/jsm/nodes/core/AttributeNode.d.ts index cce744e1a..5ac9a10f9 100644 --- a/types/three/examples/jsm/nodes/core/AttributeNode.d.ts +++ b/types/three/examples/jsm/nodes/core/AttributeNode.d.ts @@ -4,8 +4,12 @@ import Node from "./Node.js"; import NodeBuilder from "./NodeBuilder.js"; export default class AttributeNode extends Node { - constructor(attributeName: string, nodeType?: NodeTypeOption | null); + defaultNode: Node | null; + + constructor(attributeName: string, nodeType?: NodeTypeOption | null, defaultNode?: Node | null); + setAttributeName(attributeName: string): this; + getAttributeName(builder: NodeBuilder): string; }