MCPcopy
hub / github.com/donmccurdy/glTF-Transform / createNode

Method createNode

packages/core/src/document.ts:225–227  ·  view source on GitHub ↗

Creates a new Node attached to this document's Root.

(name = '')

Source from the content-addressed store, hash-verified

223
224 /** Creates a new {@link Node} attached to this document's {@link Root}. */
225 createNode(name = ''): Node {
226 return new Node(this._graph, name);
227 }
228
229 /** Creates a new {@link Camera} attached to this document's {@link Root}. */
230 createCamera(name = ''): Camera {

Callers 15

extension.test.tsFile · 0.80
document.test.tsFile · 0.80
root.test.tsFile · 0.80
animation.test.tsFile · 0.80
skin.test.tsFile · 0.80
property.test.tsFile · 0.80
scene.test.tsFile · 0.80
node.test.tsFile · 0.80
readMethod · 0.80
cli.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 9

createSceneFunction · 0.64
createSceneBasicFunction · 0.64
createSceneIndexedFunction · 0.64
createSceneInstancedFunction · 0.64
createSceneUnusedFunction · 0.64
createSceneFunction · 0.64
createPrimitiveFunction · 0.64
createMaterialsFunction · 0.64