function getBoneName( bone, options ) {

	if ( options.getBoneName !== undefined ) {

		return options.getBoneName( bone );

	}

	return options.names[ bone.name ];

}
@module SkeletonUtils
@three_import import * as SkeletonUtils from 'three/addons/utils/SkeletonUtils.js';