spine_skin_set_attachment method

void spine_skin_set_attachment(
  1. spine_skin self,
  2. int slotIndex,
  3. Pointer<Char> name,
  4. spine_attachment attachment,
)

Adds an attachment to the skin for the specified slot index and name. If the name already exists for the slot, the previous value is replaced.

Implementation

void spine_skin_set_attachment(
  spine_skin self,
  int slotIndex,
  ffi.Pointer<ffi.Char> name,
  spine_attachment attachment,
) {
  return _spine_skin_set_attachment(
    self,
    slotIndex,
    name,
    attachment,
  );
}