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

Method createAnimationSampler

packages/core/src/document.ts:287–289  ·  view source on GitHub ↗

* Creates a new AnimationSampler. Samplers must be attached to an Animation * for use and export; they are not otherwise associated with a Root.

(name = '')

Source from the content-addressed store, hash-verified

285 * for use and export; they are not otherwise associated with a {@link Root}.
286 */
287 createAnimationSampler(name = ''): AnimationSampler {
288 return new AnimationSampler(this._graph, name);
289 }
290
291 /** Creates a new {@link Accessor} attached to this document's {@link Root}. */
292 createAccessor(name = '', buffer: Buffer | null = null): Accessor {

Callers 9

document.test.tsFile · 0.80
animation.test.tsFile · 0.80
skin.test.tsFile · 0.80
readMethod · 0.80
resample.test.tsFile · 0.80
prune.test.tsFile · 0.80
dedup.test.tsFile · 0.80
sequenceFunction · 0.80
xmp.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected