• Editor
  • Mask

  • تم التحرير
Related Discussions
...

How to have different masks for different slots (images) within same skeleton? I need multiple masks in one skeleton that has many slots with images and animations. If I make a mask in one slot, than I can have either mask or image, and I want both.

I assume you're talking about Clipping attachments. Only a single attachment can be visible in a slot, so you will need to create an extra slot for your Clipping attachments (masks). A Bone can contain multiple slots.

Note: Multiple clipping attachments can be visible at the same time, but the slots they clip cannot overlap in the draw order.

You can find the docs about clipping here: Clipping - Spine User Guide
Remember you can only have poligonal masks, and they're expensive operations at runtime, so try to keep the vertex number low!

If you can explain what you need the masks for, perhaps I can help figuring out a solution that doesn't require the usage of clipping.