newBoundingBoxAttachment method

  1. @override
BoundingBoxAttachment? newBoundingBoxAttachment(
  1. Skin skin,
  2. String name
)
override

Implementation

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