newPointAttachment method

  1. @override
PointAttachment? newPointAttachment(
  1. Skin skin,
  2. String name
)
override

Implementation

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