getBoneName static method

String? getBoneName(
  1. Bone bone,
  2. SkeletonUtilsOptions options
)

Implementation

static String? getBoneName(Bone bone, SkeletonUtilsOptions options ) {
  if ( options.getBoneName != null ) {
    return options.getBoneName?.call( bone );
  }

  return options.names[ bone.name ];
}