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

Method createCamera

packages/core/src/document.ts:230–232  ·  view source on GitHub ↗

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

(name = '')

Source from the content-addressed store, hash-verified

228
229 /** Creates a new {@link Camera} attached to this document's {@link Root}. */
230 createCamera(name = ''): Camera {
231 return new Camera(this._graph, name);
232 }
233
234 /** Creates a new {@link Skin} attached to this document's {@link Root}. */
235 createSkin(name = ''): Skin {

Callers 6

document.test.tsFile · 0.80
root.test.tsFile · 0.80
camera.test.tsFile · 0.80
node.test.tsFile · 0.80
readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected