public static Hair DeepCopy( this IHairGetter item, out Hair.ErrorMask errorMask, Hair.TranslationMask?copyMask = null) { return(((HairSetterTranslationCommon)((IHairGetter)item).CommonSetterTranslationInstance() !).DeepCopy( item: item, copyMask: copyMask, errorMask: out errorMask)); }
public static void DeepCopyIn( this IHairInternal lhs, IHairGetter rhs, out Hair.ErrorMask errorMask, Hair.TranslationMask?copyMask = null) { var errorMaskBuilder = new ErrorMaskBuilder(); ((HairSetterTranslationCommon)((IHairGetter)lhs).CommonSetterTranslationInstance() !).DeepCopyIn( item: lhs, rhs: rhs, errorMask: errorMaskBuilder, copyMask: copyMask?.GetCrystal(), deepCopy: false); errorMask = Hair.ErrorMask.Factory(errorMaskBuilder); }