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

Method createAnimation

packages/core/src/document.ts:271–273  ·  view source on GitHub ↗

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

(name = '')

Source from the content-addressed store, hash-verified

269
270 /** Creates a new {@link Animation} attached to this document's {@link Root}. */
271 createAnimation(name = ''): Animation {
272 return new Animation(this._graph, name);
273 }
274
275 /**
276 * Creates a new {@link AnimationChannel}. Channels must be attached to an {@link Animation}

Callers 14

document.test.tsFile · 0.80
root.test.tsFile · 0.80
animation.test.tsFile · 0.80
skin.test.tsFile · 0.80
readMethod · 0.80
cli.test.tsFile · 0.80
resample.test.tsFile · 0.80
flatten.test.tsFile · 0.80
inspect.test.tsFile · 0.80
quantize.test.tsFile · 0.80
prune.test.tsFile · 0.80
dedup.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected