UNPKG

@babylonjs/viewer

Version:

The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.

15 lines (13 loc) 641 B
const feature = { id: "_animations", async applyAsset(meshes, _root, ctx) { const [{ parseAnimationData }, { createAnimationGroups }] = await Promise.all([import('./gltf-animation-CvJhPzAe.esm.js'), import('./index-By0tcgYN.esm.js').then(function (n) { return n.bo; })]); const animData = parseAnimationData(ctx._json, ctx._binChunk, meshes, ctx._parentMap, ctx._worldMatrixCache, ctx._nodeMap, ctx._boneOverrides); if (!animData) { return {}; } return { animationGroups: createAnimationGroups(animData) }; } }; export { feature as default }; //# sourceMappingURL=gltf-feature-animations-Jzr-4mRO.esm.js.map