MCPcopy Create free account
hub / github.com/melonjs/melonJS / getAnimationNames

Method getAnimationNames

packages/spine-plugin/src/Spine.js:716–720  ·  view source on GitHub ↗

* Get the list of animation names available in this skeleton. * @returns {string[]} array of animation names

()

Source from the content-addressed store, hash-verified

714 * @returns {string[]} array of animation names
715 */
716 getAnimationNames() {
717 return this.skeleton.data.animations.map((a) => {
718 return a.name;
719 });
720 }
721
722 /**
723 * Get the list of skin names available in this skeleton.

Callers 1

setupSceneFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected