MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / assignSkeleton

Function assignSkeleton

Apps/BabylonScripts/babylon.glTF2FileLoader.js:2866–2870  ·  view source on GitHub ↗
(skeleton)

Source from the content-addressed store, hash-verified

2864 return extensionPromise;
2865 }
2866 var assignSkeleton = function (skeleton) {
2867 _this._forEachPrimitive(node, function (babylonMesh) {
2868 babylonMesh.skeleton = skeleton;
2869 });
2870 };
2871 if (skin._data) {
2872 assignSkeleton(skin._data.babylonSkeleton);
2873 return skin._data.promise;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected