|
@@ -83,8 +83,9 @@ spSlot* spSkeleton_findSlot (const spSkeleton* self, const char* slotName);
|
|
|
/* Returns -1 if the slot was not found. */
|
|
|
int spSkeleton_findSlotIndex (const spSkeleton* self, const char* slotName);
|
|
|
|
|
|
-/* Sets the skin used to look up attachments not found in the SkeletonData defaultSkin. Attachments from the new skin are
|
|
|
- * attached if the corresponding attachment from the old skin was attached.
|
|
|
+/* Sets the skin used to look up attachments before looking in the SkeletonData defaultSkin. Attachments from the new skin are
|
|
|
+ * attached if the corresponding attachment from the old skin was attached. If there was no old skin, each slot's setup mode
|
|
|
+ * attachment is attached from the new skin.
|
|
|
* @param skin May be 0.*/
|
|
|
void spSkeleton_setSkin (spSkeleton* self, spSkin* skin);
|
|
|
/* Returns 0 if the skin was not found. See spSkeleton_setSkin.
|