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

Method getRoot

packages/core/src/document.ts:102–104  ·  view source on GitHub ↗

Returns the glTF Root property.

()

Source from the content-addressed store, hash-verified

100
101 /** Returns the glTF {@link Root} property. */
102 public getRoot(): Root {
103 return this._root;
104 }
105
106 /**
107 * Returns the {@link Graph} representing connectivity of resources within this document.

Callers 15

hasExtensionMethod · 0.95
createExtensionMethod · 0.95
disposeExtensionMethod · 0.95
createAccessorMethod · 0.95
createLineStripPrimFunction · 0.80
createTriangleStripPrimFunction · 0.80
createTriangleFanPrimFunction · 0.80
createTorusKnotPrimitiveFunction · 0.80
writeMethod · 0.80
extension.test.tsFile · 0.80
document.test.tsFile · 0.80
root.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 2

writeMethod · 0.64
hasMeshoptFunction · 0.64