skeleton_slot_list


Description

With this function you can populate a (pre-created) ds_list with all the names of the slots created as part of the skeletal animation sprite. The names will be strings and can then be used in the other skeleton animation slot functions for these types of sprite.


Syntax:

skeleton_slot_list(sprite, list);

Argument Description
sprite The sprite index of the Spine skeletal animation to get the list from.
list The ID of the DS list to populate with the bone names.


Returns:

N/A


Example:

bone_list = ds_list_create();
skeleton_slot_list(sprite_index, bone_list);

The above code creates a DS list then populates it with the slot names for later use.