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

Method createScene

packages/core/src/document.ts:220–222  ·  view source on GitHub ↗

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

(name = '')

Source from the content-addressed store, hash-verified

218
219 /** Creates a new {@link Scene} attached to this document's {@link Root}. */
220 createScene(name = ''): Scene {
221 return new Scene(this._graph, name);
222 }
223
224 /** Creates a new {@link Node} attached to this document's {@link Root}. */
225 createNode(name = ''): Node {

Callers 15

document.test.tsFile · 0.80
root.test.tsFile · 0.80
property.test.tsFile · 0.80
scene.test.tsFile · 0.80
readMethod · 0.80
cli.test.tsFile · 0.80
2-material.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