SkeletonBinary.variant2 constructor

SkeletonBinary.variant2(
  1. AttachmentLoader attachmentLoader,
  2. bool ownsLoader
)

Implementation

factory SkeletonBinary.variant2(AttachmentLoader attachmentLoader, bool ownsLoader) {
  final ptr = SpineBindings.bindings.spine_skeleton_binary_create2(attachmentLoader.nativePtr.cast(), ownsLoader);
  return SkeletonBinary.fromPointer(ptr);
}