newPathAttachment method

  1. @override
PathAttachment? newPathAttachment(
  1. Skin skin,
  2. String name
)
override

Implementation

@override
PathAttachment? newPathAttachment(Skin skin, String name) {
  final result = SpineBindings.bindings.spine_atlas_attachment_loader_new_path_attachment(
      _ptr, skin.nativePtr.cast(), name.toNativeUtf8().cast<Char>());
  return result.address == 0 ? null : PathAttachment.fromPointer(result);
}